The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

htaccess File World readable

Discussion in 'General Discussion' started by Higgins, Oct 3, 2003.

  1. Higgins

    Higgins Well-Known Member

    Joined:
    Jan 31, 2003
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    On one of our Servers i can access every .htaccess File from the Web eg. http://domain.tld/.htaccess and it displays the Contents of the File. On other Servers i dont have those Problems. The Permissions on the File are Set Correct. Can anyone help here ?

    cPanel.net Support Ticket Number:
     
  2. dysk

    dysk Well-Known Member

    Joined:
    Apr 22, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Hi-
    Add this to your httpd.conf:

    <Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>


    Regards,

    Erek Dyskant
    Unix Consultant

    cPanel.net Support Ticket Number:
     
  3. Higgins

    Higgins Well-Known Member

    Joined:
    Jan 31, 2003
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Thanks but it was already in the httpd.conf. Still the same error

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page