Bluehost.com Web Hosting $6.95

Re: newbie question about .htaccess

This is a discussion on Re: newbie question about .htaccess within the Apache Web Server forums, part of the Web Server and Related Forums category; From one newbie to another, I had this problem as well and had to change permissions on the .htpasswd file. &...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-02-2003
Kym Fischer
 
Posts: n/a
Default Re: newbie question about .htaccess

From one newbie to another, I had this problem as well and had to change
permissions on the .htpasswd file.
"James Dearnley" <jamesd@grantfinder.co.uk> wrote in message
news:1057055232.256123@azores.network-i.net...
> I have a private website folder which I would like to password protect so

I
> have followed the instructions on the Apache website and some other sites

to
> write an .htaccess file. This results in a pop up box which asks for the
> username and password. The problem is that on entering the details (which
> are in the .htpasswd file) the same pop up box appears again and again,

only
> after selecting cancel does the page come up saying authorisation

required,
> etc. This seems to be the case whether or not correct details are entered.
>
> My httpd.conf file has in it for that directory :
> AllowOverride AuthConfig
> The .htaccess file contains:
>
> AuthUserFile {directory}.htpasswd
> AuthName "Restricted files"
> AuthType Basic
> <Limit GET>
> require valid-user
> </Limit>
>
> Can anyone explain the problem?
> Thanks in advance,
> James
>
>
>



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0