note 13345 deleted from features.http-auth by betz

From: Date: Thu, 01 Apr 2004 12:04:03 +0000
Subject: note 13345 deleted from features.http-auth by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-67466@lists.php.net to get a copy of this message
Note Submitter: eezyeee@yahoo.com ---- This is a good resource for setting up htaccess schemes: http://www.apacheweek.com/features/userauth The windows version of apache comes with htpasswd.exe in the apache\bin directory. The only thing that present problems is you have to change your .htaccess file to point to the created password file (ie C:\directory\passwords.file)....so if you transfer the file back to a *nix server it wont find your file. One (temporary) workaround is changing your local httpd.conf file to point to a different access file: AccessFileName htaccess. You just have to make sure to syncronize your access files. Im not sure if you can point your htaccess to two password files?? AuthName "restricted stuff" AuthType Basic AuthUserFile /usr/local/etc/httpd/users AuthUserFile C:\directory\password.file require valid-user

« previous php.notes (#67466) next »