With due respect, please STOP abusing the mailing list and using it like a 'chat room'. Please RTM as it’s all a bit lazy otherwise.
> On 17 Apr 2021, at 01:57, H <age...@meddatainc.com> wrote: > > On 04/16/2021 08:51 PM, H wrote: >> On 04/16/2021 08:23 PM, Jonathon Koyle wrote: >>>> 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-unsubscr...@httpd.apache.org >>> For additional commands, e-mail: users-h...@httpd.apache.org >>> >> I am using one external IP -address for now so you are saying the ServerName >> should be site1.a.b.c.d and site2.a.b.c.d, respectively, where a.b.c.d is >> the same? >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> > The four sites I have are loading fine - and have through most of this > testing BUT, the logging always goes to the access and error log defined in > the conf file first in the /etc/httpd/conf.d directory. I understand this is > because they are loaded in alphabetical order and defaults to the first one > mentioned unless a later match is found. > > Could there be some /very/ basic configuration I have missed to > enable/disable and that's why this occurring? > > I should also mention that once I have all sites loading and logging done > correctly, the next step is to load php-fpm to be able to use different php > versions for some of the sites. However, until I have the logging working as > intended I am not working on that... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org