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!

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

Status
Not open for further replies.

Draft

Administrator
Joined
Jan 23, 2011
Messages
11,921
Solutions
21
Reaction
45,644
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.

Popular On This Forum

Online statistics

Members online
1,320
Guests online
1,657
Total visitors
2,977

Forum statistics

Threads
1,071,569
Messages
18,114,842
Members
1,515,959
Comments
1,081,316
Attachments
1,387,571
Profile posts
97,586
Top