logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: rewrite map on Apache Not Working.
Author
unmgroup



Joined: 22 Jul 2006
Posts: 19

PostPosted: Sun 23 Jul '06 17:52    Post subject: rewrite map on Apache Not Working. Reply with quote

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

PostPosted: Sun 23 Jul '06 18:00    Post subject: Reply with quote

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

PostPosted: Sun 23 Jul '06 18:08    Post subject: Reply with quote

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


Reply to topic   Topic: rewrite map on Apache Not Working. View previous topic :: View next topic
Post new topic   Forum Index -> Apache