Jump to content

problem htaccess for admin authentification


Recommended Posts

Hi.

 

I want to have a htaccess authentification in my admin folder.

But the result is the 404 page of PS when i try to use my admin url.

 

The problem comes of dispatcher section of the  htaccess generated by PS 1.6 in root folder.

 

When i comment the lines :

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
 
My navigator login popup comes well in admin.
 
I have try to put 
RewriteRule ^admin/ - [L,NC]
before PS rules in the root .htaccess file, but without results.
 
Before i don't have problem.
The only difference is that i have upgrade from debian6 t debian7 and about php wich is now in cgi instead of apache module.
 
Somebody have an idea about this problem ?
 
(PS 1.6.0.9)
 
Regards (and happy christmass)
 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...