Forum Moderators: phranque

Message Too Old, No Replies

RewriteMap without httpd.conf ?

         

ish

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

10+ Year Member



Hi

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

jdMorgan

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

WebmasterWorld Senior Member 10+ Year Member



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.

Jim