Re: Using mod_rewrite to control the browser address barWhat Controls What's in a Browser's Address Bar?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 9, 2014 at 1:22 AM, Steve Matzura <sm@xxxxxxxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux