Re: Logging issue

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

 



On April 17, 2021 8:57:22 AM EDT, angel Hall-Coulston <rammsteinium@xxxxxx.INVALID> wrote:
>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 <agents@xxxxxxxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
>>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>> 
>>> 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-unsubscribe@xxxxxxxxxxxxxxxx
>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>> 
>> 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-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>> 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

Well, if my problem is so easily solved, perhaps you can tell me what I am doing wrong? That would solve two issues, I no longer have to post questions on this topic and you could show that you are helpful and knowledgable... Obviously I have consulted other sources, including the documentation.

This is a user support list, is it not? And, you can always ignore posts... Perhaps i misremember, but was not your previous post a suggestion to switch to MAMP??

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