ehsan

Well-Known Member
Dec 11, 2001
185
0
316
I am wondering why CGI scripts are working even in other folders ... aren't they supposed to be just in cgi-bin ?

httpd looks good and cgi-bin alias is defined correctly

is it just me or ..

Thanks
 

awsol

Well-Known Member
Feb 8, 2002
578
0
316
Boston MA
Works for me also outside of cgi-bin. Personally I love it this way. LEts me run scripts where I want without hassle.
 

ehsan

Well-Known Member
Dec 11, 2001
185
0
316
well, it should not :) so what is the point to enable Cgi for somebody.

I am trying to find the alias thing on one of the servers, if I catch it I'll let you know
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:fa1402b80d][i:fa1402b80d]Originally posted by ehsan[/i:fa1402b80d]

well, it should not :) so what is the point to enable Cgi for somebody.[/quote:fa1402b80d]
Check your httpd.conf and access.conf to see if you have CGI enabled server-wide:

Options ExecCGI Includes [...other options]

When you uncheck the cgi option for a new account, WHM disables the cgi by overriding the server-wide config with a single line in the virtualhost container:

Options -ExecCGI -Includes (No CGI and No SSI)

You can tailor it if you like:

Options -ExecCGI (No CGI but SSI is ok!)
Options -Includes (No SSI but CGI is ok!)
 

hst

Well-Known Member
Feb 24, 2002
111
0
316
What about preinstalled scripts

I would think you would want it to run outside the cgi-bin because of the scripts installed putting them in a root directory for the account and not in the main cgi-bin.