roland_d_alsace Posted December 24, 2014 Share Posted December 24, 2014 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 More sharing options...
roland_d_alsace Posted December 24, 2014 Author Share Posted December 24, 2014 Hi I repply to myself (and close the toppic). The soluce for me is to define the apache 401 page in the .htaccess where i want to protect the folder. By. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now