View Full Version : [ubuntu] mod-rewrite
April 23rd, 2008, 07:56 PM
Do I have to do anything to turn on mod-rewrite for apache. I can't seem to find it in synaptic and I have a problem that suggests it may not be on.
Ok I have found the mod-enabled and available folder so the question becomes how do I turn rewrite on. I am assuming it is something similar to the a2ensite format of command but I do not know it.
April 23rd, 2008, 08:00 PM
sudo a2enmod rewrite
April 23rd, 2008, 08:10 PM
Thankyou very much. By the way how many of these types of commands are there and where can I reference them. I am not used to admining apache this way as I have been doing it in a more manual way until fairly recently and I should learn the Ubuntu way now really.
April 23rd, 2008, 08:23 PM
man a2enmod says it all, especially the FILES section
you may need to install non present modules with apt-get/synaptic
April 23rd, 2008, 08:32 PM
yeah but what I meant was there is a2ensite, a2enmod and their disable counterparts are there any other commands of the a2en format.
April 25th, 2008, 04:23 PM
I am still having trouble getting this to work. I have run the a2enmod rewrite command and then restarted the server but I am still having the same problem. I have a drupal site that I am trying to enable clean urls for but the test for it does not pass. Any ideas?
April 25th, 2008, 06:51 PM
Sorted this out now and the information I needed is here (http://drupal.org/node/134439) just in case anyone else wants to know.
April 27th, 2008, 06:12 PM
Wow...I went through a similar issue. This document helps too:
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.