You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2003/11/03 19:34:12 UTC

Re: [users@httpd] Authentication System does not work everytime computer restarts

[Plain text please.  Outlook/Word creates some obscenely awful html.]

On Tue, 4 Nov 2003, David wrote:
> I have a question. I managed to get basic authentication for my HTTP
> server up and running.
> However, I notice that everytime I restart my server (or I restart my
> computer), the authentication does not work anymore.

Define "does not work anymore".  What EXACTLY happens?  What do the error
and access log say?

> <Directory "C:/Program Files/Apache Group/Apache2/htdocs/SMA6306">
>
> #AuthUserFile "C:\.htpasswd"

Use forward slashes.

> #AuthName "This is a protected server hosted by David Wong"
> #AuthType Basic
> #Require valid-user

Why is everthing commented out?

>
>             Options None
>             AllowOverride AuthConfig

> I believe using AuthConfig will allow me to use my password file without
> always having to re-create it everytime I restart my server.

AllowOverride affects ONLY .htaccess files.  It has no effect on
httpd.conf.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org