DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25725>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25725 SetEnvIf Remote_User in .htaccess file Summary: SetEnvIf Remote_User in .htaccess file Product: Apache httpd-1.3 Version: 1.3.23 Platform: Other URL: http://207.218.219.92/testingsite/index.php OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Other mods AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Creating a site where access to certain item would be controlled by user privilege through .htaccess with SetEnvIf Remote_User does not work. Test site : http://207.218.219.92/testingsite/index.php usernames:admin1,admin2 psw:test Sample: #.htaccess file (Linux/Apache 1.3.22) AuthName 'My Protected Area' AuthType Basic AuthUserFile /home/var/etc/.htpasswd <Files "index.php"> require user admin1 require user admin2 </Files> SetEnvIf Remote_User "admin1" valid SetEnvIf Remote_User "admin2" valid2 <Files "jpg1.jpg"> order deny,allow deny from all allow from env=valid </Files> <Files "jpg2.jpg"> order deny,allow deny from all allow from env=valid2 </Files> With above code I try to have the ability (in the same directory) to allow access to a file to specific users and deny it to the others without user having to type in username and password each time. (Also try without success: <FilesMatch "^(jpg1¦jpg4).jpg$"> Order Deny,Allow Deny from all Allow from env=valid </FilesMatch> <FilesMatch "^(jpg2¦jpg3).jpg$"> Order Deny,Allow Deny from all </FilesMatch> ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
