LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   CGI/Perl/Python (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=22)
-   -   Hello World - CGI issue (http://www.litespeedtech.com/support/forum/showthread.php?t=1616)

robfrew 12-21-2007 10:21 AM

Hello World - CGI issue
 
I created a new virtual host using the exact same settings as DEFAULT (except for the directory paths, etc..). I then copied the helloworld script from DEFAULT and placed it in the cgi-bin of the new virtual host I created. I then tried running the script and this is the error I am getting:

lscgid: chdir(): Permission denied

I've checked my paths, permissions, etc... and they all look correct.

Any ideas?

We are preparing to purchase a new 4 cpu license today and go live but we need to iron out these small issues.

****************

Extra info:

LSWS runs as nobody:nobody

the new virtual host permissions are www:www and the cgi-bin files and directories are www:www (tried nobody:nobody on cgi-bin file and directories and got same error)

robfrew 12-21-2007 10:57 AM

Solved. The base directory I was using for the virtual host did not have permissions set to 0755. Changed it and it worked.


All times are GMT -7. The time now is 03:06 PM.