Answer the question
In order to leave comments, you need to log in
Why is .htaccess being downloaded?
Why is htaccess downloaded by the browser when going to site.ru/.htaccess?
The site is hosted, the contents of the file -
AddDefaultCharset utf-8
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php
<Files .htaccess>
order allow,deny
deny from all
</Files>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question