Page 1 of 1
Apache Windows
Posted: Fri Apr 12, 2002 4:56 am
by stefan.risse
I have a problem with Apache under Windows 2000 when i want to start a cgi (texis.exe) then i become a failure you don't have permission to open texis.exe in /cgi-bin/!
Can someone help me? Please!
Apache Windows
Posted: Fri Apr 12, 2002 10:11 am
by mark
cgi-bin needs to be configured using "ScriptAlias" or you need to install into a directory that is already configured with ScriptAlias. See you apache manual.
Apache Windows
Posted: Fri Apr 12, 2002 11:29 am
by stefan.risse
My config look like this:
ScriptAlias /cgi-bin/ "C:\Lib\Apache\Apache\cgi-bin\"
#
# "C:/Lib/Apache/Apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:\Lib\Apache\Apache\cgi-bin\">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Is this okay??
Apache Windows
Posted: Fri Apr 12, 2002 12:14 pm
by mark
Looks ok as far as I can tell. Make sure the user that apache is running CGI programs as has permissions to run texis.exe.
Apache Windows
Posted: Fri Apr 12, 2002 12:19 pm
by stefan.risse
Yes it have but i made a mistake
c:/lib/apache............ Apache not can use \ in the Directory permission (it not find it)! Now it works!
Greetings