Re: .htaccess with apache2

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Darrin Chandler
Date:  
To: Main PLUG discussion list
Subject: Re: .htaccess with apache2
On Tue, May 23, 2006 at 04:14:38PM -0700, Miles Beck wrote:
> I have a file I would like to put up on my web server. But I would
> also like to password protect the file so that only myself can view
> it. This is a list of links I have organized into a html document. I'd
> like this to be accessible from my server so I can maintain it in one
> place.
>
> The problem is I have never been able to figure out .htaccess and
> refreshing or reloading the file will prompt for the password again.
>
> Is there a way to password protect it and also use a session id? This
> way I would not have to enter the password everytime I want to reload
> the file.
>
> I looked at pages.google.com but you have to publish the file to it
> can then be seen by everyone.


Sounds like you've figured it all out except for the refresh part.
Right?

Make your bookmark something like
http://user:pass@www.domain.com/secret.html and you should be able to go
there directly or refresh without a password. Unless you're worried
about someone filching the password from your bookmarks...

-- 
Darrin Chandler            |  Phoenix BSD Users Group
   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss