Loading...


bookmark - Apache Tutorial: Enable mod_rewrite In Windows A brief action guide to enable mod_rewrite in Windows

Apache Tutorial: Enable mod_rewrite In Windows - A brief action guide to enable mod_rewrite in Windows

 
 Discussion by sid.calcutta with 9 Replies.
 Last Update: October 18, 2011, 9:34 pm ( View Rated (3) )
 
bookmark - Apache Tutorial: Enable mod_rewrite In Windows A brief action guide to enable mod_rewrite in Windows  
Quickly Post to Apache Tutorial: Enable mod_rewrite In Windows A brief action guide to enable mod_rewrite in Windows w/o signup Share Info about Apache Tutorial: Enable mod_rewrite In Windows A brief action guide to enable mod_rewrite in Windows using Facebook, Twitter etc. email your friend about Apache Tutorial: Enable mod_rewrite In Windows A brief action guide to enable mod_rewrite in Windows Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Hi everybody,
If you are using Windows OS and want to enable mod_rewrite module here is how to do it.
This is the general configuration guideline both for Windows and Linux server:

QUOTE

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.


For Windows, find the following section in httpd.conf file:

QUOTE


DocumentRoot "C:/path/to/my/root"
#
# 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.
#


Now modify the option for AllowOverride to look like this:

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


This small modification in httpd.conf file will enable mod_rewrite in Windows server.
An excellent website that gives in-depth discussion on mod_rewrite is Doriat.om- Mod_Rewrite Tutorials Board.

Regards,
Sid

   Tue Apr 18, 2006    Reply         

I have been tryng to get a mod_rewrite going for weeks and can not get pass the modification of this file. The tech guys say everything under the sun but no one knows anything about having access to this file on the window server?? Any help would be greatly appreciated.

Further:
I need to use mod_rewrite to change a query sting from http://web_site/page.asp?545003 to something like,
http://web_site/page545003.htm - so search engines will like me.

I use Frontpage2003 and apache windows server, I have turned off front page extentions. and have made a .htaccess file.

I have tried to find a httpd.conf to edit but no luck. I have not seen any evidence that anything I have tried even works at all. I need help with the first steps in getting mod_rewrite to do anything at this point.

Thanks
Jim

   Fri Apr 25, 2008    Reply         

the httpd.conf is not accessible on windows server apachie?
Apache Tutorial: Enable mod_rewrite In Windows

I have been tring to get a mod_rewrite going for weeks and can not get pass the modification of this file. The tech guys say everything under the sun but no one noes anything about having acces to this file on the window server??
Thanks
Jim

   Fri Apr 25, 2008    Reply         


enabling mod rewrite in apache windows.Apache Tutorial: Enable mod_rewrite In Windows

I have noticed my httpd.Conf and got some dissimilarities with the steps mentioned here.

1. There is no line with "ClearModuleList"in httpd.Conf

2.  There is no word "mod_rewrite.C" in httpd.Conf

I am using Apache/2.2.8 (Win32) PHP/5.2.0

-reply by Goutam Reja

 

   Thu Aug 20, 2009    Reply         

enabling mod rewrite in apache windowsApache Tutorial: Enable mod_rewrite In Windows

Thanks for this, although I'm still experiencing a problem with url rewriting this article is helpful.  My httpd.Conf file doesn't contain the ClearModuleList instruction as well.  I'll figure out where I need to add the ClearModuleList and hopefully that will fix the problem.

Thanks,

-reply by James Radford (Web Developer)

   Sun Aug 30, 2009    Reply         

Apache mod_rewrite on local XPApache Tutorial: Enable mod_rewrite In WindowsReplying to sid.CalcuttaReplying to sid.CalcuttaActually, for security leave default Options FollowSymLinks AllowOverride All Order deny,allow Deny from allChange only next section below to set rules for your server directory (where you ut your web site files) only:This section easy to miss behind long comments. # comments comments blablablaOptions FollowSymLinksAllowOverride AllAllow from all # blablablaIt works fine on my XP.The other similar section below must be left as default to protect Apache from accidental destruction: AllowOverride None Options None Order allow,deny Allow from allTo see how block/allow specific locations with “Allow from” or “Deny from” see http://httpd.Apache.Org/docs/1.3/mod/mod_access.HtmlOf cause you need LoadModule rewrite_module modules uncommented and restart Apache.-reply by Dimitri

   Mon Aug 10, 2009    Reply         


huh? I confusedApache Tutorial: Enable mod_rewrite In Windows

So... How to make the apache under windows could eventually accepting mod_rewrite.So ?I also already tried out some steps mentioned before but ending with no luck... OMG :(

-reply by gugum

   Sun Oct 16, 2011    Reply         

run Linux hehe... i can't remember the last time i had to do something with mod_rewrite on WAMP Server a few years back!

   Mon Oct 17, 2011    Reply         

Ahem! Brrm! "Run Linux" is not an acceptable answer to a topic named "XXXXX Windows" :unsure:

   Tue Oct 18, 2011    Reply         

QUOTE (yordan)

Ahem! Brrm! "Run Linux" is not an acceptable answer to a topic named "XXXXX Windows" :unsure:
Link: view Post: 160269


my apologies... didn't read the initial post properly

last time i used WAMP Server, mod_rewrite was one of the options which can be toggled by right clicking the WAMP Server icon on notification area... probably under settings or options...

i wonder if .htaccess applies on IIS as well?

   Tue Oct 18, 2011    Reply         

Quickly Post to Apache Tutorial: Enable mod_rewrite In Windows A brief action guide to enable mod_rewrite in Windows w/o signup Share Info about Apache Tutorial: Enable mod_rewrite In Windows A brief action guide to enable mod_rewrite in Windows using Facebook, Twitter etc. email your friend about Apache Tutorial: Enable mod_rewrite In Windows A brief action guide to enable mod_rewrite in Windows Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

Want To Install Apache Mysql Php ...

Installing Apache Web Server on Windows XP This article deals with installing Apache Web Server on Windows XP. This guide is easy to follow, for everyone to make use of it and it will help you have your very own personal web server for local web designing and development. ...more

   01-Feb-2007    Reply         

How To Enable User Login Security O...

How to enable User Secure Login on Windows Vista You may have worked in a business, educational or other network that uses Windows to log in. With or without being on a domain, most business environments "require" you to press the key combination of CTRL ...more

   05-Nov-2008    Reply         

Complete Guide Install Run And Ma...

Complete guide: Install, Run and Manage Webserver on Ubuntu: Chapter 1 A Brief Introduction to the whole Tutorial Series: Target Audience: Absolute Beginners to Web Development, especially for learning the basics of web server ...more

   11-Dec-2010    Reply         

Search Engine Submitting Software.    Search Engine Submitting Software. (1) (0) Additional Parameters In mod_rewrite URLs How to pass additional parameters in mod_rewrite urls  Additional Parameters In mod_rewrite URLs How to pass additional parameters in mod_rewrite urls