Mod_rewrite on centos 6.5 with directadmin

January 21, 2014 6.1k views
Well, i have managed to install directadmin on the droplet. Though there are two apache related problems: url rewrite doesn't work and caching also. I have searched everywhere (read this but i just can't get it to work! My .htacces is not the problem: with a dutch hosting provider i have a directadmin vps too and with same .htacces it works there. My droplet is running centos 6.5 x64 I'd be great if someone could point me in the right direction!
3 Answers
Try enabling the mod_rewrite module through directadmin. If that doesn't fix it, can you paste your virtualhost config?

Thanks for your reply.
This is probably a very newbish question.. but then, i am.:)

How to enable mod_rewrite through directadmin?

Thanks in advace (as always)
I don't know—I never used directadmin. I figured there would be an option/checkbox that you would check to enable mod_rewrite.

Try logging into your droplet as root and running
sudo a2enmod rewrite

sudo service httpd restart
Have another answer? Share your knowledge.