Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I enable apache re-write engine in Ubuntu hardy?

Thanks for help.

share|improve this question
up vote 0 down vote accepted

Run a2enmod rewrite and put your rewrite rules into the Apache httpd configuration or your .htaccsess files.

share|improve this answer
Thanks. It may be already be enabled, how do I confirm this? Where would I find httpd config file in Ubuntu hardy? Thanks. – April Jul 18 '10 at 8:00
See /etc/apache2 and especially /etc/apache2/mod-enabled. – joschi Jul 18 '10 at 8:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.