Simple (I think) Rewrite

Topics: User Forum
Nov 2, 2007 at 4:06 PM
Edited Nov 2, 2007 at 4:11 PM
I want to translate URL as follows = = = = (stays the same.)

This is what I came up with, but i'm not having much luck with it.

RewriteCond %{HTTP_HOST} !^/subdir.*$
RewriteRule ^/(.*)$$1 [L]

So it should be (when NOT /subdir) insert /subdir as the base directory.
Nov 2, 2007 at 6:02 PM
Ok, something is up. I created the following rule to test IIRF.

RewriteRule ^(.*)$

Which, if i'm correct will rewrite every URL to ""

It still is not working....