Re: Logging issue

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

 



> The OP, ie me, just read up on virtual host configuration. I now understand that it is not possible to have site1.conf and site2.conf as in my first e-mail where I wanted to access the different sites using 1.2.3.4/site1 and 1.2.3.4/site2 etc.
>
> My reading suggests that instead accessing them as site1.1.2.3.4 and site2.1.2.3.4 should work with the following minimal conf

ServerName should either be a hostname or an IP Address.  Httpd is
going to compare this value to the HOST header in an HTTP request and
it should match what you are putting in host section of the URL  For
example, if you owned example.com the ServerName directives would
site1.example.com and site2.example.com.

If you are just testing and don't have a domain or DNS, you could just
set SeverName to site1 and site2 and add entries in your host file
that map to the IP address

1.2.3.4      site1
1.2.3.4      site2

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