Web Servers on Windows - Setting Up CGI on Apache on Windows xp

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > June 2005 > Setting Up CGI on Apache on Windows xp





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Setting Up CGI on Apache on Windows xp
sbbg13805@blueyonder.co.uk

2005-05-28, 8:46 pm

Hi there, can anybody help, i have been working on this for about 14hrs
now and cant get round a problem, i am trying to setup so i can use cgi
scripts in my 2 virtual hosts that i have setup on my server. Does
anybody know how this can be done, i have been reading the apache files
on this, and tried it all word for word, but to no avail, this is what
i have at the moment from my httpd.conf file
#
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"

#
# "C:/Program Files/Apache Group/Apache2/cgi-bin" should be changed to
whatever your #ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
AllowOverride none
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
but just found out that it looks like windows uses a different way to
access cgi, what it says is this

When running CGI scripts, the method Apache uses to find the
interpreter for the script is configurable using the
ScriptInterpreterSource directive.

this is the info it gives me on that,

ScriptInterpreterSource Directive

Description: Technique for locating the interpreter for CGI scripts
Syntax: ScriptInterpreterSource Registry|Registry-Strict|Script
Default: ScriptInterpreterSource Script
Context: server config, virtual host, directory, .htaccess
Override: FileInfo
Status: Core
Module: core
Compatibility: Win32 only; option Registry-Strict is available in
Apache 2.0 and later .

if there is somone out there that is using apache serve2 on windows xp
system and they have configured to use cgi, please can you copy the
section of the httpd.conf file that relates to cgi configuration for
windows, and e-mail it me,
thanks for any help that you can give.

sbbg13805@blueyonder.co.uk

2005-06-02, 5:51 pm

hi there, thanks for the huge responce to this add, i managed to
eventually figure it out for myself, 4 days later,
cheers

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com