Re: Apache 2.4.2 Error Log Oddness

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

 



On Tue, Aug 28, 2012 at 11:01 AM, Kevin A. McGrail <KMcGrail@xxxxxxxx> wrote:
> Morning All,
>
> From the docs at http://httpd.apache.org/docs/current/logs.html, we have:
>
> "If CustomLog or ErrorLog directives are placed inside a <VirtualHost>
> section, all requests or errors for that virtual host will be logged only to
> the specified file. "
>
> ...
> ErrorLog "/htdocs/munge2.pccc.com/logs/munge2.pccc.com-error_log"
> LogLevel warn
> ...
> # <VirtualHost munged.com>
> <VirtualHost 1.2.3.4>
> ServerAdmin munge@xxxxxxxx
> DocumentRoot /htdocs/munged.com/html
> ServerName www.munged.com
> ServerAlias munged.com *.munged.com
> ErrorLog /htdocs/munged.com/logs/munged.com-error_log
> CustomLog /htdocs/munged.com/logs/munged.com-access_log combined env=!ban
> SuExecUserGroup munge munge
> </VirtualHost>
>
>
> However, I am getting Errors for munged.com in BOTH the default ErrorLog and
> the VirtualHost error log.
>
> Our best case is this is caused perhaps by SuExec and/or user ownership of
> files, etc.  Any pointers on what might be causing the issue?  We've used
> this type of setup on small servers for many years pre-2.4.

The same errors duplicated, or a mix?  Are you sure the only local
interface used is 1.2.3.4?  If it's "munged.com" on any other
interface, it won't use that VH.

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