Mailing List Archive

rewritemaps
Has anyone implemented a mod_rewrite by transferring all rewrites into a
file?
How do I implement this properly?
I just want a simple rewritemap usage.
Thanks.

fritz <www.mesedilla.com>
systems administrator

summit interactive, inc.
fhm.com.ph | femalenetwork.com | candymag.com
---
+basta ikaw lord
RE: rewritemaps [ In reply to ]
Here is an example using a DBM file :

RewriteMap myName dbm:/dbm-path/dbm-name

RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 [C]

RewriteRule ^([a-zA-Z0-9\.^/]+)/(.*) /Where_To_Redirect/${myName:$1}/$2
[P]

-----Original Message-----
From: maillists@summitmedia.com.ph [mailto:maillists@summitmedia.com.ph]
Sent: Thursday, December 20, 2001 6:38 PM
To: users@httpd.apache.org
Subject: rewritemaps



Has anyone implemented a mod_rewrite by transferring all rewrites into a
file?
How do I implement this properly?
I just want a simple rewritemap usage.
Thanks.

fritz <www.mesedilla.com>
systems administrator

summit interactive, inc.
fhm.com.ph | femalenetwork.com | candymag.com
---
+basta ikaw lord



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************