0

we want to utilize Rewrite Engine utility and password protection in the same directory, we created .htaccess file for it, but unfortunatly it is not working and giving Internal Server Error what might the cause of it, or what we are doing wrong ?

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ admin.php/$1 [L]

AuthType Basic
AuthName "Nokia"
AuthUserFile .htpasswd
Require valid-user

.htpasswd file is in same directory

runningmark
  • 738
  • 4
  • 13
  • 32

0 Answers0