Question

Mod_rewrite on centos 6.5 with directadmin

  • Posted January 21, 2014

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 https://www.digitalocean.com/community/articles/how-to-set-up-mod_rewrite) 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!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I don’t know—I never used directadmin. I figured there would be an option/checkbox that you would check to enable mod_rewrite. <br> <br>Try logging into your droplet as root and running <pre>sudo a2enmod rewrite <br>sudo service httpd restart</pre>

Hi, <br> <br>Thanks for your reply. <br>This is probably a very newbish question… but then, i am.:) <br> <br>How to enable mod_rewrite through directadmin? <br> <br>Thanks in advace (as always)

Try enabling the mod_rewrite module through directadmin. If that doesn’t fix it, can you paste your virtualhost config?