Re: How can I force a server name header?

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

 



Thanks Frank.  My workstation just crashed; second time since 14 July, so I won't
be able to get back to this very fast.  I'll try it out whenever I can get back to work
but I do  appreciate the feedback.
 
John
======
On Wednesday 02/08/2023 at 12:17 am, Frank Gingras wrote:
http://ip/ will always land on the default (first) vhost unless you have another vhost with ServerName IP set. Just set up an arbitrary hostname to resolve to 192.168.1.7, then use http://dummyhostname/. Make sure to define a vhost with that ServerName set as well.

I would encourage you to look at the name-based vhosts docs, too.

On Tue, Aug 1, 2023 at 9:08 PM John Iliffe <john.iliffe@xxxxxxxxx> wrote:
I'm trying to test a new server located at internal IP 192.168.1.5.  The
production server lives at IP 192.168.1.7 on the same network. 

How can I force the browser to connect to the correct server?  If I try
"http://192.168.1.5" the redirect on the first (alphabetically) virtual
server redirects to the production server. 

What I need to be able to do is combine the virtual server id with the
network address so I connect to the same name but on the machine I'm
testing.  I think this is the "ServerName" header but I don't know where
I can enter this on Firefox.

Anybody have any experience with this problem?

Thanks in advance.

John
======

---------------------------------------------------------------------
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