Displaying Directory Index on client's "/"

Discussion in 'Installation/Configuration' started by deunan, Oct 7, 2009.

  1. deunan

    deunan New Member

    Dear all

    In Apache directives, I've done as below -

    <Directory /var/www/www.example.com/web/> 
    Options Indexes 
    IndexIgnore favicon.ico robots.txt HEADER.HTML FOOTER.HTML */error 
    I find that the above works as per my requirements except that the "/var/www/www.example.com/web" permissions is set to 710 (drwx--x---).

    drwx--x--- 4 web8 client10 4096 Sep 27 00:10 web
    I have to change it otherwise it'll give me 403 forbidden error

    chmod 750 web
    drwxr-x--- 4 web8 client10 4096 Sep 27 00:10 web
    Only then it'll work.

    Problem when I reload apache for one reason or another or worse, reboot server, the directory permissions will revert back to original, rendering my settings in Apache directives useless..

    Can someone please advise on how to ensure the permanency of the directory permissions.

    Sincere regards and thanks in advance!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ispconfig version? Do you use the high or moderate security setting for websites in ispconfig?
  3. deunan

    deunan New Member

    Dear Till

    Thank you for replying.

    I am using ISPConfig 3 with Centos 5.3 i386 which was installed according to the perfect install document on howtoforge.

    Not sure which you're referring to security settings, but I did enable the jailkit for that particular account and as well as CGI, SSI, SuEXEC and Mod-PHP.

    Sincere regards and thanks in advance

Share This Page