![]() |
problems installing CGI on my server :(
i can run the cgi script on mydomain.com/xxx.cgi but when i put the same file in the cgi-bin directory (mydomain.com/cgi-bin/xxx.cgi) i get a "The page cannot be found" error :(
what can be the problem and how do i correct this problem? |
file permission problems, check CHMOD
|
is this a dedicated server, or a virtual account? could be a few things .... maybe your cgi-bin alias in your apache config is screwed up ... if it was chmod you'd probably see an internal server error not a not cound error, but does the script have +x perms on?
|
it is a dedicated server and i chmod the xxx.cgi file to 755
|
Quote:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" and <VirtualHost *> ServerName mydomain.com ServerAlias *.mydomain.com ScriptAlias /cgi-bin/ /home/www/mydomain/cgi-bin DocumentRoot /home/www/mydomain </VirtualHost> are thes correct are are wrong? |
Add this in the <VirtualHost>
AllowOverride All Options All and if necessary : ScriptAlias /cgi-bin/ /home/yourdoman/cgi-bin/ |
Quote:
|
your server have control panel?
look in panel - maybe your cgi-bin not activated in panel - i have similar problem at one setver some time ago |
Quote:
|
| All times are GMT -7. The time now is 02:21 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123