suEXEC with DirectAdmin

Discussion in 'Install/Configuration' started by lukaschemp, Dec 3, 2009.

  1. lukaschemp

    lukaschemp New Member


    I have replace Apache with LiteSpeed Enterprise then i have compile PHP by LiteSpeed web interface and LiteSpeed reads Apache configs from /usr/local/directadmin/data/users/*/httpd.conf my question is:

    Can i use suEXEC with standard chmods 644 (files) and 755 (dirs) ? Becouse when i have change owner of PHP file where chmod is 644 LiteSpeed reads it good.
  2. mistwang

    mistwang LiteSpeed Staff

    should be fine.
  3. lukaschemp

    lukaschemp New Member

    When i use chmods 644 and 755 for user example 'bill' it's ok but when i change owner to other user example 'john' i shoudn't read the file but it reads. So there is the problem that i need use chmod 600 for file then i get blank page so it's fine. On Apache if You have 644 chmod on PHP file then You change owner for other one You'll receive 500 Internal Server Error and it's ok.

    So can I configure somehow LiteSpeed to work like Apache?
  4. mistwang

    mistwang LiteSpeed Staff

    use permission "750" for the home directory of bill.

Share This Page