I'm trying to do a rewrite using:
RewriteCond %(HTTP_HOST) ="admin.host.com" [NC]
RewriteRule ^(.*)$ [R=permanent,L]
But the rewrite doesn't happen.
Is there a way to see what's actually in the %(HTTP_HOST) variable, so that I know whether it's the RewriteCond or the RewriteRule that's not being met?
- Greg
RewriteCond %(HTTP_HOST) ="admin.host.com" [NC]
RewriteRule ^(.*)$ [R=permanent,L]
But the rewrite doesn't happen.
Is there a way to see what's actually in the %(HTTP_HOST) variable, so that I know whether it's the RewriteCond or the RewriteRule that's not being met?
- Greg