How to enable mod_rewrite in centos via SSH
This is a very simple question, but for beginners it is little bit difficult,
Now assuming that everything is installed, open the httpd conf file and start editing it,
You can find this file in
/etc/httpd/conf/httpd.conf
or directly edit it
vi /etc/httpd/conf/httpd.conf
in this file search for Directory "/var/www/html" this can be on line 290-320
You will find a line of code, just like below
AllowOveride None
Just change it to
AllowOverideAll
Save it, and exit, mod_rewrite is enabled on your server
:)
Subscribe to:
Post Comments (Atom)
Blog Archive
- February 2011 (5)
- January 2011 (4)
- December 2010 (1)
- October 2010 (5)
About Me
- NiRaJ (asp or php)!!!!!!
- I am basically a software engineer and Website designer & developer (final year student)
0 comments:
Post a Comment