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)
-   -   cgi-bin question (https://gfy.com/showthread.php?t=242240)

alex79 02-25-2004 10:59 AM

cgi-bin question
 
when i try to access a file from my cgi-in folder i get an "The page cannot be found" error (mydomain.com/cgi-bin/xxx/yyy.cgi)
the file path is correct becouse if i rename cgi-bin in cgi-bin1 and i try access the same file with the new path is working (mydomain.com/cgi-bin1/xxx/yyy.cgi) , but i ghet the cgi source of the file

what is the problem? why i can't run cgi files on my server?

monro 02-25-2004 11:11 AM

Be sure you have set the file permissions right.

alex79 02-25-2004 11:16 AM

Quote:

Originally posted by monro
Be sure you have set the file permissions right.
how do i do that pls?

monro 02-25-2004 11:36 AM

In your ftp prgram you have a function doing that.
Ftp into your cgi-bin lib.

Highligt the .cgi file file and click the right mouse button.
Choose "chmod this file"

You will see three fields, "Owner" "Group" and "Other"

Set the first one to read, write and execute
Next ( Group ) to Read and Execute
The last one to Read and Execute
This will be chmod 755, it should work.

This is done with the ws_ftp program.

You can ICQ me if you want, 230743090


All times are GMT -7. The time now is 09:35 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123