HTACCESS Help needed

I’ve htaccess running at my local server and it’s working
however I do not want others to look into the htaccess file what’s in it. This should be forbidden. But……
CHMOD 644 does not work: i still can read what’s in it.

What do I need to do? To have the htaccess file working and it’s not possible to look into the file? What’s the catch?

5 thoughts on “HTACCESS Help needed

  1. bekijk je de .htaccess via je webbrowser??? als ik dat op mijn server doe dan krijg ik een forbidden error-page te zien …

  2. Nogal vreemd, want sids jaar-en-dag staat dit in Apache’s httpd.conf:

    #
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    #

    Order allow,deny
    Deny from all

  3. GHet is natuurlijk “sinds” en want de haakjes vallen weg :-)

    Files ~ “^\.ht”
    Order allow,deny
    Deny from all
    /Files

  4. GHet is natuurlijk “sinds” en de haakjes vallen weg :-)

    Files ~ “^\.ht”
    Order allow,deny
    Deny from all
    /Files

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.