htaccess Readme

If the installer.cgi script did not work then use this readme file to install htaccess.
We suggest trying the installer.cgi script before doing it manually.
You can use the Readme.html File for instructions on how to install ACAccesss


Contents

  • What is htaccess?
  • How Do I setup htaccess?
  • How Do I setup the htpasswd file?
  • How do I setup the signup.cgi script?





    What is htaccess?
    htaccess is a system used by the Apache server. It will instantly create a secure folder requesting a username and password to access the secure folder.


    How Do I setup htaccess?
  • Open Notepad (or a normal text file editor)
  • copy this code and paste it into Notepad
    AuthUserFile /path/to/the/password/file/.htpasswd
    AuthGroupFile /dev/null
    AuthName "YourSite Members Area"
    AuthType Basic

    <Limit GET POST>
    require valid-user
    </Limit>

    AuthUserFile /path/to/the/password/file/.htpasswd - This is the path to the .htpasswd file. read more on htpasswd files

    AuthGroupFile /dev/null - This is the path to the group file. Some servers allow you to have different groups of users. /dev/null means there are no groups.

    AuthName "YourSite Members Area" - This is what will show when the user is asked for their username and password.

    AuthType Basic - Means basic protection

    <Limit GET POST>
    require valid-user
    </Limit> - This means every SINGLE-USER is required to have a username and password.

  • Save this file as htaccess.txt
  • Upload the htaccess.txt file to the folder you want password protected.
  • Rename "htaccess.txt" to ".htaccess"

    That's it, your htaccess file is now prepared. Be sure to read how to setup your htpasswd file next.



    How Do I setup the htpasswd file?
  • Open Notepad again.
  • Save it as htpasswd.txt
  • Upload it to the folder you just uploaded the htaccess.txt file.
  • Rename "htpasswd.txt" to ".htpasswd"

    Thats it your .htpasswd file is now ready.




    Created by Aaron Connelly