What's new
  • 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!

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

Status
Not open for further replies.

Draft

🏍
Staff member
Administrator
Joined
Jan 23, 2011
Messages
6,982
Reaction score
26,647
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:

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

Restart apache. Done.
 
Status
Not open for further replies.

Trending Topics

Trending On This Forum

New Topics On This Forum

Top