httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Using mod_rewrite to control the browser address barWhat Controls What's in a Browser's Address Bar?
Date Sun, 09 Nov 2014 13:19:23 GMT
On Sun, Nov 9, 2014 at 1:22 AM, Steve Matzura <sm@noisynotes.com> wrote:
> On the site hosting the A-record for my server, the A-record address
> is what shows up in the address bar of a browser when I browse to the
> URL of the named virtual host--i.e., I browse to
> http://www.example.com but the address that shows up in the address
> bar when I get there is the one in the A-record (e.g., 11.22.33.44),
> making the address bar show "http://11.22.33.44/". I'm thinking
> mod_rewrite fixes this, right? If so, which of the several ways of
> using it will do the substitution of 11.22.33.44 with www.example.com?
> Also, how do I find out for certain if the mod_rewrite module is even
> installed and loaded? I don't find a .load file for it in
> mods-enabled, making me think it might not be installed.

What normally happens is whatever URL you type simply stays there.  It
only changes if you redirect or click on a non-relative link.

On what URL does yours change, http://www.example.com or some later request?
Can you capture the output with wget -S ?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message