Hi folks,
Why can't apache execute cgi-script from subdir of
/home/mydomain/
[error] (2) No such file or directory: exec of /home/mydomain/cgi-bin/test.cgi
[error] Premature end of script headers
//httpd file
ScriptAlias /cgi-bin/ "/home/mydomain/cgi-bin/"
<Directory "/home/mydomain/Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/home/mydomain/cgi-bin">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost x.x.x.x>
DocumentRoot /home/mydomain/www
ServerName ScriptAlias /cgi-bin/ "/home/mydomain/cgi-bin/"
ServerSignature email
</VirtualHost>
I am trying to allow vhost it's own cgi-bin
Thks for help..
Why can't apache execute cgi-script from subdir of
/home/mydomain/
[error] (2) No such file or directory: exec of /home/mydomain/cgi-bin/test.cgi
[error] Premature end of script headers
//httpd file
ScriptAlias /cgi-bin/ "/home/mydomain/cgi-bin/"
<Directory "/home/mydomain/Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/home/mydomain/cgi-bin">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost x.x.x.x>
DocumentRoot /home/mydomain/www
ServerName ScriptAlias /cgi-bin/ "/home/mydomain/cgi-bin/"
ServerSignature email
</VirtualHost>
I am trying to allow vhost it's own cgi-bin
Thks for help..