Jump to content
groovyPost Forums

htaccess directory protection in Windows


Recommended Posts

Guest andierosebud
Posted

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!

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Who's Online   0 Members, 0 Anonymous, 1 Guest (See full list)

    • There are no registered users currently online
×
×
  • Create New...