Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: rewrite map on Apache Not Working. |
|
Author |
|
unmgroup
Joined: 22 Jul 2006 Posts: 19
|
Posted: Sun 23 Jul '06 17:52 Post subject: rewrite map on Apache Not Working. |
|
|
How do you get the rewrite map to work on Apache 2.2 for windows? I have uncommented out:
LoadModule rewrite_module modules/mod_rewrite.so
and have added the following lines in the httpd.conf:
RewriteMap apacheescape int:escape
RewriteMap md5hex prg:C:/www/site/cgi-bin/sblogin/hashmap.pl
However it the rewritemap doesn't seem to be working. Can any apache experts help me with this? I would greatly appreciate it. |
|
Back to top |
|
unmgroup
Joined: 22 Jul 2006 Posts: 19
|
Posted: Sun 23 Jul '06 18:00 Post subject: |
|
|
I just added:
RewriteEngine On
into my config. It wasnt there before. Does that matter? |
|
Back to top |
|
Xing Moderator
Joined: 26 Oct 2005 Posts: 49
|
Posted: Sun 23 Jul '06 18:08 Post subject: |
|
|
The RewriteMap directive defines a Rewriting Map which can be used inside rule substitution strings by the mapping-functions to insert/substitute fields through a key lookup.
Reading this; what is/are the RewriteRules(s) you are trying ?
What do you want to achieve ?
X |
|
Back to top |
|
|
|
|
|
|