Hi everybody!
I've written a simple "Hello world!" CGI application with
Delphi 6. Then I've coppied it Apache's /cgi-bin directory.
When I try to run CGI aplication from Internet Explorer
an error message occure. For example:
Internal Server Error.
This error seems in Error Log file like this:
(2)No such file or directory: couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/hello.dll
I've added the lines below in to httpd.conf:
{
ServerRoot "C:/Program Files/Apache Group/Apache"
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .cgi .dll .pl .exe
}
But it didn't work. There is something wrong here...
Could you please help me?
Thanks...
ps: I've tried it with ISAPI dll application and CGI executable application. But none of them didn't work.
I've written a simple "Hello world!" CGI application with
Delphi 6. Then I've coppied it Apache's /cgi-bin directory.
When I try to run CGI aplication from Internet Explorer
an error message occure. For example:
Internal Server Error.
This error seems in Error Log file like this:
(2)No such file or directory: couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/hello.dll
I've added the lines below in to httpd.conf:
{
ServerRoot "C:/Program Files/Apache Group/Apache"
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .cgi .dll .pl .exe
}
But it didn't work. There is something wrong here...
Could you please help me?
Thanks...
ps: I've tried it with ISAPI dll application and CGI executable application. But none of them didn't work.