Public feed #378939

Someone

public text v1 · immutable
Raw Edit
·published 2007-03-02 21:49 UTC
rendered paste body
Two very simple mod_rewrite rules:

    RewriteCond ${REQUEST_URI} !^/OMP/
    RewriteRule ^/(.*) /OMP/$1 [L,R=permanent]

Should redirect http://www.ourserver.edu/webpage over to http://www.ourserver.edu/OMP/webpage

Instead, however, it keeps causing an infinite loop of http://www.ourserver.edu/OMP/OMP/OMP/OMP/..../OMP/webpage

Why isn't my regex detecting the OMPs in the URL???