.htaccess question protect my php test environment
From: Frank Tudor (frank_tudor_at_yahoo.com)
Date: 10/24/03
- Next message: Marek Kilimajer: "Re: [PHP] w3c-compliant form-action parameters"
- Previous message: Richard Baskett: "Re: [PHP] New line characters and carriage returns"
- Next in thread: Raditha Dissanayake: "Re: [PHP] .htaccess question protect my php test environment"
- Reply: Raditha Dissanayake: "Re: [PHP] .htaccess question protect my php test environment"
- Reply: John Nichel: "Re: [PHP] .htaccess question protect my php test environment"
- Reply: James Moe: "Re: .htaccess question protect my php test environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Oct 2003 10:14:01 -0700 (PDT) To: php-general@lists.php.net
I have to apologies about this posting in advance so please
don't flame me too bad for being off topic.
Question:
I want to create an .htaccess file to protect my files
I did the passwrd -c /directory/file frank
the set a password and then confirmed the password
I created a .htaccess file with vi and put this in it.
AuthName "restricted stuff"
AuthType Basic
AuthUserFile /var/password/frank
require valid-user
then in the redhat http server utitily under server settings
I went tot he virtual directory section and created a new
virtual dir called virtual 0 and check marked the box at the
bottom for .htaccess protection.
I restart the server and then go to another computer and put in
the URL and no password box comes up.
:(
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
- Next message: Marek Kilimajer: "Re: [PHP] w3c-compliant form-action parameters"
- Previous message: Richard Baskett: "Re: [PHP] New line characters and carriage returns"
- Next in thread: Raditha Dissanayake: "Re: [PHP] .htaccess question protect my php test environment"
- Reply: Raditha Dissanayake: "Re: [PHP] .htaccess question protect my php test environment"
- Reply: John Nichel: "Re: [PHP] .htaccess question protect my php test environment"
- Reply: James Moe: "Re: .htaccess question protect my php test environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|