Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
  1. Hello, I'm having a problem with yasu2 and .htpasswd protection in /admin directory Description : I've installed Yasu2 in / (not /catalog as in the example). Rewriting works great, but when i install a second .htaccess to protect /admin i get the following : when typing http://www.toto.com/admin i'm redirected to the search engine, the url is : http://www.toto.com/advanced_search_result...?keywords=admin when i remove the /admin/.htaccess, it work great but i need to protect /admin... /.htaccess code is : <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule admin - [L] RewriteRule catalog$ /index.php [R,L] RewriteRule catalog/$ /index.php [R,L] RewriteCond %{REQUEST_URI} !-d RewriteCond %{REQUEST_URI} !^/$ RewriteRule !\.(gif|php|css|jpg|xml|swf)$ /rewrite.php THE /admin/.htaccess is : AuthName "username" AuthType Basic AuthUserFile /home/.sites/147/site296/web/admin/.htpasswd require valid-user Any solution ?