LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > Hello World - CGI issue

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2007, 10:21 AM
robfrew robfrew is offline
Senior Member
 
Join Date: Dec 2007
Location: Salt Lake City UT
Posts: 151
Default 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)

Last edited by robfrew; 12-21-2007 at 10:42 AM..
Reply With Quote
  #2  
Old 12-21-2007, 10:57 AM
robfrew robfrew is offline
Senior Member
 
Join Date: Dec 2007
Location: Salt Lake City UT
Posts: 151
Solved. The base directory I was using for the virtual host did not have permissions set to 0755. Changed it and it worked.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:46 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.