Hi all,
just tried to protect my Chevereto Installation with the .htaccess file.
In Firefox it works great in chrome I get an error message:
In Firefox a windows security dialogs pop-up and reask for the password. At the same point chrome popup with this error message.
Any suggestions?
Best regards,
Magnus
just tried to protect my Chevereto Installation with the .htaccess file.
Code:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /etc/apache2/htusers
AuthGroupFile /dev/null
<Files *.php>
require valid-user
</Files>
<Files *.js>
require valid-user
</Files>
ServerSignature Off
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^api$ api.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>
ErrorDocument 400 default
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
In Firefox it works great in chrome I get an error message:
In Firefox a windows security dialogs pop-up and reask for the password. At the same point chrome popup with this error message.
Any suggestions?
Best regards,
Magnus