Apache Windows

Post Reply
stefan.risse
Posts: 5
Joined: Fri Apr 12, 2002 4:47 am

Apache Windows

Post 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!
User avatar
mark
Site Admin
Posts: 5515
Joined: Tue Apr 25, 2000 6:56 pm

Apache Windows

Post 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.
stefan.risse
Posts: 5
Joined: Fri Apr 12, 2002 4:47 am

Apache Windows

Post 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??
User avatar
mark
Site Admin
Posts: 5515
Joined: Tue Apr 25, 2000 6:56 pm

Apache Windows

Post 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.
stefan.risse
Posts: 5
Joined: Fri Apr 12, 2002 4:47 am

Apache Windows

Post 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
Post Reply