Joseph Brower

irc: josephnexus

Working with Apache in Ubuntu

I’ve had a lot of people ask me how to enable mod rewrite in ubuntu when using apache.  Hopefully this will help everyone figure that out.  Go to a terminal and type

sudo a2enmod rewrite

and that will take care of it.

2 comments

2 Comments so far

  1. xeridea August 19th, 2009 9:30 am

    Don’t you need to restart apache after doing this??? I don’t know the command

  2. Joseph Brower August 19th, 2009 9:46 am

    Yes. You restart apache by running
    sudo /etc/init.d/apache2 restart

    That takes care of it for ya.

Leave a reply

You must be logged in to post a comment.