|
|
|
|
![]() ![]() |
Apr 19 2006, 03:35 AM
Post
#1
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Validating Posts: 111 Joined: 28-January 06 Member No.: 10,917 |
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 |
|
|
|
Apr 25 2008, 11:15 PM
Post
#2
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 1 Joined: 25-April 08 Member No.: 30,013 |
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 This post has been edited by kuleszajmk: Apr 25 2008, 11:19 PM |
|
|
|
Apr 25 2008, 11:07 PM
Post
#3
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
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 |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
Lo-Fi Version | Time is now: 6th July 2008 - 11:08 PM |