Enable Apache mod_rewrite on CentOS?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
535
Points
28
It is simple to enable mod_rewrite

Open configuration file of Apache web server

Code:
nano /etc/httpd/conf/httpd.conf
Change AllowOverride None to AllowOverride All in <Directory "/var/www/html">

After that, restart Apache

Code:
service httpd restart
 
Newer Threads
Replies
5
Views
12,379
Replies
4
Views
5,630
Replies
52
Views
70,382
Recommended Threads
Replies
7
Views
6,860
Replies
1
Views
3,240
Replies
5
Views
3,757
Replies
71
Views
32,581
Replies
12
Views
11,322

Sponsors

Tag Cloud

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