Guest andierosebud Posted September 10, 2008 Report Share 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! Link to comment Share on other sites More sharing options...
Steve Posted September 12, 2008 Report Share 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. Link to comment Share on other sites More sharing options...
alexmvp Posted November 2, 2008 Report Share Posted November 2, 2008 worked for me Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.