1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Tutorial How to install / enable mod_rewrite on ubuntu 12.10 with apache2 and php

Discussion started by Draft, Mar 25, 2013.

Thread Status:
Not open for further replies.
  1. Draft

    Draft Administrator Staff Member Administrator

    After you've installed the Apache web-server and php on Ubuntu 12.10, you find out there is no mod_rewrite installed and available.

    Here is how to install mod_rewrite on Ubuntu 12.10
    (actually, this is actual for at least Apache on Ubuntu 6.04 and earlier).
    Launch a terminal and run:

    sudo su
    sudo a2enmod rewrite
    sudo service apache2 restart
    sudo /etc/init.d/apache2 restart

    Restart apache. Done.
    mylabs26 likes this.
  2. thanks sa tutorial. .
    mylabs26 likes this.
Thread Status:
Not open for further replies.
  1. PHCorner uses cookies to help personalise content and tailor your experience. By continuing to use this site, you are consenting to our use of cookies. Accept Learn More
    Dismiss Notice