Hello World - CGI issue

Discussion in 'CGI/Perl/Python' started by robfrew, Dec 21, 2007.

  1. robfrew

    robfrew Well-Known Member

    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: Dec 21, 2007
  2. robfrew

    robfrew Well-Known Member

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

Share This Page