Forum Moderators: phranque
Here's my code:
RewriteEngine On
RewriteCond %{REQUEST_URI}!\.(cgi¦txt¦css¦gif¦jpg¦pdf¦html¦bv)$
RewriteCond %{REQUEST_URI}!^/admin
RewriteRule (.*) [mydomain.com...] [L]
I thought the fact that I ommitted the [R] flag should mean that the address bar stays the same. My understanding was:
[L] - Address bar stays the same
[R,L] - Address bar changes
But my address bar is changing even though I left off the [R].
Is the syntax different with Apache 2? I didn't think it was, but I'm at a loss to understand why else my code no longer works....