Hi.
I have 2 modules in my app: default and admin module. I want to protect my
admin module with htaccess.
I created admin folder with .htaccess and .htpassword under my document
root, but I get Index of /admin page, not my app.
My htaccess in doc root is:
SetEnv APPLICATION_ENV production
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Can I protect my admin module this way at all?
Regards,
Saša Stamenković.
--
View this message in context:
http://n4.nabble.com/Modules-and-htaccess-tp788225p788225.html
Sent from the Zend Framework mailing list archive at Nabble.com.