apache permissions

Discussion in 'General' started by wieserdk, Jul 15, 2009.

  1. wieserdk

    wieserdk New Member

    Hello,

    I've noticed that apache needs all files in /web/ folder be 777, which is not nice:

    ls -l gives results:
    drwxrwxrwx 13 web96 client31 4096 2009-06-23 21:12 web


    when last chain is r-x or r-- apache returns

    You don't have permission to access / on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


    What can be wrong?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    It is not nescessary to set any file to 777, the default permissions of the files and folders are fine.

    Most likely you selected the wrong PHP mode for the website. If your php scripts shall run under the user of the website you will have to use suphp or fcgi-php + suexec or cgi-php + suexec.
     

Share This Page