logictrap
08-30-2009, 04:31 PM
I have a customer that has a series of exe files they wrote with clipper that output html content.
How should apache be configured to use them?
I have the following settings in the http.conf file:
LoadModule alias_module modules/mod_alias.so
LoadModule cgi_module modules/mod_cgi.so
AddHandler cgi-script .cgi .exe
ScriptAlias /cgi-bin/ "cgi-bin/"
<Directory "cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
The exe file is n a folder named 'cgi-bin'
The url is: http://localhost/demo/cgi-bin/test.exe
The response from the server is:
Forbidden
You don't have permission to access /demo/cgi-bin/notnow.exe on this server.
How should apache be configured to use them?
I have the following settings in the http.conf file:
LoadModule alias_module modules/mod_alias.so
LoadModule cgi_module modules/mod_cgi.so
AddHandler cgi-script .cgi .exe
ScriptAlias /cgi-bin/ "cgi-bin/"
<Directory "cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
The exe file is n a folder named 'cgi-bin'
The url is: http://localhost/demo/cgi-bin/test.exe
The response from the server is:
Forbidden
You don't have permission to access /demo/cgi-bin/notnow.exe on this server.