How to Install/Enable Mod_Rewrite in CentOs?

Maxwell

New member
Joined
Mar 5, 2013
Messages
397
Points
0
I heard some people said that I need to enable mod rewrite in centos before active friendly url in wordpress blog to run it without any problem?

any one know how? give me advice. thanks
 

yestyle

New member
Joined
Jul 1, 2012
Messages
189
Points
0
Enable mod_rewrite on Centos is very simple
find the file
Code:
/etc/httpd/conf/httpd.conf
Find <Directory "/var/www/html">
Change to <Directory "/var/www"> if you are having more domain names in www.
Code:
Change AllowOverride None to AllowOverride All
You need to restart your Apache to see changes. Of course, Mod rewrite is enabled and you can run your friendly urls without any errors :D

Hope it helps
 
Older threads
Replies
6
Views
3,629
Replies
18
Views
6,903
Replies
5
Views
3,453
Replies
2
Views
2,263
Replies
6
Views
5,057
Newer threads
Replies
2
Views
3,025
Replies
2
Views
3,266
Replies
13
Views
5,019
Latest threads
Replies
1
Views
49
Replies
0
Views
123
Replies
0
Views
35
Replies
2
Views
582
Replies
4
Views
617
Recommended threads
Replies
39
Views
15,315
Replies
0
Views
2,167
Replies
2
Views
1,344

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top