Question
How to active sudo a2enmod rewrite for centos?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×AllowOveride None
and change to AllowOveride All
, then restart apache.
I am totally new at this and I am trying to fix it based on the fact that wordpress is telling me page not found errors (saw on a forum that my modrewrite must be off) So I started following this directions:
https://www.digitalocean.com/community/tutorials/how-to-set-up-modrewrite
but it gave me this message
3 packages can be updated.
3 updates are security updates.
Last login: Sun Apr 12 20:49:18 2015 from host-68-169-131-190.cmgolt1.epbfi.com
root@KCSC:~# sudo a2enmod rewrite
sudo: a2enmod: command not found
root@KCSC:~# sudo a2enmod rewrite
sudo: a2enmod: command not found
root@KCSC:~#
Dunno what to do now.
Hi there, it seems no way to enable it on CentOS, see this for more information:http://serverfault.com/questions/558600/centos-bash-a2enmod-command-not-found