I have joomla/ sef advanced installed with an oscommerce installation in the directory webshop.
when i try to install a username/ password in the admin directory (using htaccess/ htpasswd), it is in conflict with the .htaccess that resides in the root of joomla, made by sef advance.
I know this because when i delete the .htaccess of SEF advanced, the htpasswd/ htaccess in the directory /webshop/admin/ works Perfectly.
So something in these lines is also applied on all subdirectories, probably the last line;
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
How can i prevent SEF from url rewriting in the webshop directory so i can use htpasswd properly
? If i am correct the above code says to exclude real directories but it prevents (/conflicts with) the following htaccess code in subdirectories (in my case the webshop/admin/ dir);AuthUserFile /home/lifeline/domains/lifeline.ipxl.nl/public_html/webshop/admin/.htpasswd
AuthGroupFile /dev/null
AuthName "test Secret Section"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
The problem is also explained here;
http://forum.joomla.org/index.php/topic,30653.0.html
Rgds, DJ
