You are here
Submitted by raymccoy on Sat, 2018/12/29 - 14:28
Hello,
i want to enable mod_rewrite on my turnkey lamp installation. I did this:
a2enmod rewrite
service apache2 restart
but it still doesn't work for me!!
Can anybody help me? or should i switch to mamp?
Forum:
Hello, i found this solution:
Hello, i found this solution:
/etc/apache2/sites-enabled/000-default
almost at the top you will find
Change the
AllowOverride None
toAllowOverride All
Some other say:
Don't use
AllowOverride All
as it will enable too many dangerours features (like using perl scripts). Instead useAllowOveride Options
Is there an expert?
AllowOverride should be fine
I am not aware of any significant security implications of using AllowOverride All in your Apache config. That is, so long as your Directory block is for the specific directory you wish to host content from. The directory block in your example uses /var/www/. That should be fine, so long as there is nothing within /var/www that you don't want Apache to be able to host.
If anyone has anything else to add, I'd be happy to hear about it.
Add new comment