Wizumwalt Posted September 11, 2006 Share Posted September 11, 2006 Hey all, I've got apache2 running but I have a directory that I'd like for my users to only have access to when authorized and have everything under this dir, and other dirs, to be encrypted.How is this done? Quote Link to comment Share on other sites More sharing options...
R_P Posted September 11, 2006 Share Posted September 11, 2006 You can assign usernames and passwords at the directory level by using .htaccess.Here's a rather simple tutorial on setting in up:http://www.sysbotz.com/articles/webprotect.htmYou will also (in addition to the tutorial above) need to change a setting in your httpd.conf:Change: AllowOverride NoneTo: AllowOverride AuthConfigOnce you got the hang of it, I'd also recommend taking a more in depth look:http://apache-server.com/tutorials/ATusing-htaccess.htmlCheers. Quote Link to comment Share on other sites More sharing options...
oldmanice Posted September 11, 2006 Share Posted September 11, 2006 Just use htaccess Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.