GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   problems installing CGI on my server :( (https://gfy.com/showthread.php?t=252162)

alex79 03-14-2004 03:57 AM

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?

sexsup 03-14-2004 04:00 AM

file permission problems, check CHMOD

SMG 03-14-2004 04:03 AM

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?

alex79 03-14-2004 04:05 AM

it is a dedicated server and i chmod the xxx.cgi file to 755

alex79 03-14-2004 04:27 AM

Quote:

Originally posted by SMG
maybe your cgi-bin alias in your apache config is screwed up ...
this is the alias that i use:

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?

Pamporn 03-14-2004 04:31 AM

Add this in the <VirtualHost>

AllowOverride All
Options All

and if necessary :

ScriptAlias /cgi-bin/ /home/yourdoman/cgi-bin/

alex79 03-14-2004 04:43 AM

Quote:

Originally posted by Pamporn
Add this in the <VirtualHost>

AllowOverride All
Options All

and if necessary :

ScriptAlias /cgi-bin/ /home/yourdoman/cgi-bin/

i already have these added and is not working.. i still get "page not found error" :(

tolik 03-14-2004 04:48 AM

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

alex79 03-14-2004 04:50 AM

Quote:

Originally posted by tolik
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

i don't have control panel.. i just have webmin installed


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