Enable Apache mod_rewrite on CentOS?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
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
8,328
Replies
4
Views
3,546
Replies
52
Views
40,777
Recommended Threads
Replies
1
Views
2,580
Replies
0
Views
1,080
Replies
1
Views
1,477
Replies
3
Views
3,310

Latest Hosting OffersNew Reviews

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