lapo4ka18 Posted December 2, 2002 Share Posted December 2, 2002 Hi, How can I protect my admin folder? Thanks :) Link to comment Share on other sites More sharing options...
MjrGaelic Posted December 3, 2002 Share Posted December 3, 2002 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 </Directory> 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.