Guest andierosebud Posted September 10, 2008 Report Posted September 10, 2008 Hi! I'm trying to configure the httpd.conf file to use directory passwords for the pages chapter_1.html and chapter_2.html, but I'm having some trouble. I can't even get Apache to start now. I've added AllowOverride AuthConfig and have done this so far: #Change AccessFileName if you used htaccess rather than .htaccess AccessFileName htaccess #Also, add these lines to turn on authentication for your chapter_1 and chapter_2 folders AllowOverride AuthConfig ...except that I couldn't change AccessFileName .htaccess because no such text exists in my httpd.conf file. I have Windows XP and I've searched and searched but can't figure out what I'm doing wrong here. If someone could please help, I'd greatly appreciate it! Quote
Steve Krause Posted September 12, 2008 Report Posted September 12, 2008 Hi Andierosebud, Did you read my article here: http://www.groovypost.com/howto/apache/ ... e-website/ regarding how-to setup password security using the .htaccess? That's the first place I would start. you should be able to put a custom .htaccess file into each subfolder in order to get the password working there. Let me know if you have problems after reading the article. Quote
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.