How to enable mod rewrite on localhost ?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,828
Points
0
Anyone helps me tips to enable mod rewrite on Apache ?
Thank in advanced !
 

webdesign

New member
Joined
Jul 5, 2012
Messages
228
Points
0
open file httpd.conf in C:\yourlocalserver\bin\apache\Apache2.2.11\conf

find
Code:
#LoadModule rewrite_module modules/mod_rewrite.so
remove # before this line

find
Code:
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
replace AllowOverride None to AllowOverride All
restart your apache and testing with htacess
good luck
 
Older threads
Replies
0
Views
3,195
Replies
5
Views
7,164
Replies
16
Views
10,781
Replies
34
Views
37,246
Newer threads
Latest threads
Replies
1
Views
163
Replies
0
Views
123
Replies
1
Views
194
Recommended threads

Referral contests

Referral link for :

Popular Contributors - Past 30 Days

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