Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Protect admin


Recommended Posts

create an .htaccess file and drop it in the directory..


Then update the apache.conf to reflect the same directives you created in your .htaccess file.


Suggest the following.


Created a text file in the admin directory called .htaccess


In the textfile, add the following:


AuthType Basic

AuthName "Password Required"

AuthUserFile /path/to/your/.htaccess


In your httpd.conf add:


<Directory /path/to/your/osc/admin>

AuthType Basic

AuthName "Password Required"

AuthUserFile /path/to/your/.htaccess



Now at shell type in htpasswd and follow the prompts.


For more information on this, visit www.apache.org ..

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...