Answer the question
In order to leave comments, you need to log in
Why doesn't .htaccess work on mac os x?
Good evening everyone. I have a bitnami mamp stack 5.4.9-0 server on mac os x, everything works correctly, but the computer or mamp does not see .htaccess files. Please tell me what could be the problem?
Answer the question
In order to leave comments, you need to log in
Check that there is an option in the virtualhost config:
It is also possible that .htaccess itself works, but some features such as rewrite do not work, then we load the necessary modules, because. the problem with rewrites is the most common, it is done something like this:
go to httpd.conf here /Applications/MAMP/conf/apache
and unravel LoadModule rewrite_module modules/mod_rewrite.so
the Knonfig of the virtual host and bring it to the form
<VirtualHost *:80>
ServerAdmin ...
ServerName ...
DocumentRoot ...
<Directory ...>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory ...>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question