Answer the question
In order to leave comments, you need to log in
How to enable .htaccess?
I am installing a web server for the first time and stalled at this stage.
I register in apache2.conf
<Directory /var/www/>
AllowOverride All
</Directory>
<Directory />
, but even that does not work. What am I doing wrong? Answer the question
In order to leave comments, you need to log in
Maybe you meant that you need the rewrite_module module, it is just disabled by default ...
Uncomment the line:
LoadModule rewrite_module modules/mod_rewrite.so
and restart Apache.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question