Welcome to TalkGraphics.com
Results 1 to 4 of 4

Threaded View

  1. #1

    Default .htaccess readable online

    it is possible to view my htaccess file by entering the url. Granted you have to log into the members area first - but still no good!!
    The permissions are on R R R and also tried RW R R. But still it's accessible once logged in.

    I found a line of code which is supposed to solve the issue but when that is entered you no longer have to log in at all to view the members directory so ive taken it back out.

    Any suggestions very welcome. Thank you.

    This is my current htaccess file:
    ErrorDocument 401 /errorpages/authorisation.htm


    AuthUserFile /websites/xxxxxxxxxxxxxxx/.htpasswd
    AuthGroupFile /dev/null
    AuthName "Only approved member access to this directory"
    AuthType Basic
    <Limit GET POST>
    require valid-user
    </Limit>
    Order allow,deny
    Satisfy any


    The other information I've seen says insert this:
    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>

    perhaps im trying to insert it into the wrong place because it allows access without a pssword being required. Advice appreciated.
    Last edited by Megg81; 22 April 2012 at 11:16 AM.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •