[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: .htaccess



On the RaQ2 and RaQ3 the server uses PAM authentication by default for
usernames ... to test that this is the problem you are seeing, try using
the boxes "admin" username and password when prompted and you should get
in.

Since this is obviously not what you are trying for, you have to disable
PAM.

Insert the following into your .htaccess file:

AuthPAM_Enabled off

That will turn off PAM authentication, allowing the .htaccess file to
authenticate from the .htpasswd file.

On Tue, 14 Mar 2000, Davies, Brendan wrote:

> Date: Tue, 14 Mar 2000 11:09:54 -0500
> From: "Davies, Brendan" <BDavies@xxxxxxxxx>
> To: "Geoff Baysinger (E-mail)" <geoff@xxxxxxxxxx>
> Cc: "'support@xxxxxxxxxx'" <support@xxxxxxxxxx>,
>      "Cobalt-Users (E-mail)" <cobalt-users@xxxxxxxxxxxxxxx>
> Subject: .htaccess
> 
> I have a user that wants to setup the .htaccess file within a virtual
> website on a directory. I've done this before and I tested it on a RaQ3 and
> it worked fine. Here is a copy of the .htaccess file:
> 
> AuthUserFile /home/sites/site7/password/.htpasswd
> AuthName MyStuff
> AuthType Basic
> 
> <Limit GET POST>
> require valid-user
> </Limit>
> 
> Everything is were it belongs. When we hit the directory it prompts for a
> username and password. I enter the test username and password I created with
> htpasswd. It doesn't work. After three trys you get the Authorization
> Required Error. If I rename and .htaccess file to .htaccess.old so it
> doesn't get read I get right in the directory. It's like the .htpasswd file
> is not being read. Is there an issue with symbolic links? Any ideas?
> 
> Thanks,
> Brendan
>