Friday February 10, 2012 @ 20:35:32 GMT+10    ( Weather:  n/a )
Home » Weblog Archives

Powered byD's Bloggie
Weblog » Archive » 2006 » May » Day 17
Browse by day ...
 11 May, 200625 May, 2006 

Enable mod_rewrite in Windows - 7:21 pm
Apache's module - mod_rewrite
Computing , Guides  -  poster 

A quick tip to enable Apache's module, mod_rewrite, for Windows. You need the extra step 4 & 5 if you're still unable to enable the mod_rewrite in Windows.

  1. Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)
  2. Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (remove the pound '#' sign from in front of the line)
  3. Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.
  4. Then, find the the below section in httpd.conf

    DocumentRoot "C:/www/public_html"
    #
    # Each directory to which Apache has access, can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    #
    # First, we configure the "default" to be a very restrictive set of
    # permissions.
    #


  5. Now modify the option for AllowOverride to look like this:

    <Directory />
    Options All
    AllowOverride All
    </Directory>

Note:

The AllowOverride None in <Directory "C:/www/public_html" > scope will still disable url rewrite even though you got AllowOverride All in the scope of <Directory />. So be sure to check the AllowOverride options for every directory scope.

It's always convenient to use Options All but not a so-good-idea for stricter security. See Apache 2.0 directives for more info.



ps: Just to say "Woohoo ~~" for my weblog to hit over 100 entries =)

Last edited: Thu 2006-05-25 @ 20:48 , by DaRen 1 time(s)

To : BlurZzz - 10:12 pm
Family  -  poster 

BlurZzz:

Kinda missed you after talking to you through the phone. Maybe it's because you're leaving to a place "more far" than you were before. Anyway, it's good to hear that you've settled down in KL. Please take good care of yourself, I seriously mean it and I hope you don't forget this.

Wish you and Tzyy Shyuan all the best !
 11 May, 200625 May, 2006 
$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.179.243 , 19 queries , 0.0469s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2011 Darren's Outpost