.htaccess question protect my php test environment

From: Frank Tudor (frank_tudor_at_yahoo.com)
Date: 10/24/03


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



Relevant Pages

  • Re: [PHP] Re: any security problems with this?
    ... Unless some server config error causes it to ignore .htaccess. ... PHP General Mailing List ...
    (php.general)
  • Re: Do splash pages make you invisible to search engines
    ... I didn't know sh*t about .htaccess (except that it could be used ... configuration statements which can be placed there. ... honoured without reloading the server. ... The disadvantage is that reading and parsing .htaccess files is ...
    (comp.infosystems.www.authoring.html)
  • Re: [PHP] problem with register globals on new server
    ... I had to move my osComerce store to new hosting company. ... since evenon old server globals was Off I was adding ... Maybe your host doesn't allow it to be changed through a htaccess.. ... If you site administrator thinks that using an htaccess file is a security ...
    (php.general)
  • Re: Question: Frontage 2002 and the .htaccess file
    ... I believe .htaccess is somehow related to how, and whether, the fp extensions ... then that would break or corrupt the server extensions - ... Can you post back the exact contents of your .htaccess file - this might help ...
    (microsoft.public.frontpage.client)
  • Newbie question-- Perl pw authentication without pop-up prompt
    ... password protect certain areas of the server, ... A perl script that utilizes the .htaccess protections of the ... company's Apache server, but doesn't bring up the pop-up password box. ... So far we've tried a program called Locked Area Lite, ...
    (comp.lang.perl)