Hi All,
Has anyone had any success running Delphi CGI's on Apache?
I developed a very simple "HelloWorld" test CGI in Delphi 5 which runs fine on IIS but under Apache 2.0 (Windows XP), it causes an exception on the server.
I added the following to httpd.conf:
AddHandler cgi-script .exe
ScriptAlias /code/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
This didn't work so I tried this
Alias /code/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Has anyone had any success getting Delphi WinCGI's working under Apache 2.0?
Has anyone had any success running Delphi CGI's on Apache?
I developed a very simple "HelloWorld" test CGI in Delphi 5 which runs fine on IIS but under Apache 2.0 (Windows XP), it causes an exception on the server.
I added the following to httpd.conf:
AddHandler cgi-script .exe
ScriptAlias /code/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
This didn't work so I tried this
Alias /code/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Has anyone had any success getting Delphi WinCGI's working under Apache 2.0?