Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

RewriteMap without httpd.conf ?



4:18 pm on Jan 18, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:May 13, 2002
votes: 0


I am trying to use RewriteMap on a shared server, where we don't have access to httpd.conf.

Are there any other ways of doing this?

Many thanks

9:02 pm on Jan 18, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

No. Defining a RewriteMap requires server config privileges.

An alternate approach is to put a "wrapper" script around all of your pages and other scripts. This wrapper will do the function you intended to implement with a RewriteMap, and then pass control to the desired script or "include" the desired page or object.