Re: Module to use .htaccess with Apache?

From: Date: Fri, 23 Jun 2000 16:36:32 +0000
Subject: Re: Module to use .htaccess with Apache?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-617@lists.php.net to get a copy of this message
Inlcuded with apache are two executables: htdigest.exe and htpassword.exe The command lines work the same way in windows as UNIX: The command: htpasswd -c .htpasswd <username> creates a file called .htpasswd containing a username and encrypted password. To add names to this file, use the command: htpasswd .htpasswd <username> In the directory you want to protect, a text file called .htaccess should reside that contains the following text: AuthType Basic AuthName "EDB Test Area" (NOTE-Must use quotes now) AuthUserFile /path/.htpasswdd/.htpasswd <LIMIT GET> require <username in .htpasswd file> </LIMIT> Good luck, Chris "Lysa D. Milch" wrote: > Can anyone point me in the right direction to get authentication working > with apache using the pop up box with .htaccess? > > I'm running Apache, PHP3 on a windows box. > > -Lysa > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#617) next »