Forum Moderators: phranque
Absolute URL
If an absolute URL is specified, mod_rewrite checks to see whether the hostname matches the current host. If it does, the scheme and hostname are stripped out and the resulting path is treated as a URL-path. Otherwise, an external redirect is performed for the given URL. To force an external redirect back to the current host, see the [R] flag below.
RewriteRule A.html http://example.com/B.html [L] (2) init rewrite engine with requested uri /A.html
(3) applying pattern 'A.html' to uri '/A.html'
(2) rewrite '/A.html' -> 'http://example.com/B.html'
(2) implicitly forcing redirect (rc=302) with http://example.com/B.html
(1) escaping http://example.com/B.html for redirect
(1) redirect to http://example.com/B.html [REDIRECT/302]
RewriteRule ^/A\.html$ /B.html [L]
g1smd is asking what your declared ServerName is