Re: VHOST Logging
| From: | Mike Rogers | Date: | Tue, 09 Oct 2001 12:51:17 +0000 |
| Subject: | Re: VHOST Logging | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67601@lists.php.net to get a copy of this message | ||
I presently have errorlog directives within each virtual host, but i find
the only thing that goes in it is not found and script errors. I want PHP
errors to not go to the main log, but into the virtualhost's log. Of course
apache (shudders at IIS)
--
Mike
----- Original Message -----
From: "Stig Sæther Bakken" <ssb@alltheweb.com>
To: "Mike Rogers" <temp6453@hotmail.com>
Cc: <php-dev@lists.php.net>
Sent: Sunday, October 07, 2001 4:23 AM
Subject: Re: [PHP-DEV] VHOST Logging
> ["Mike Rogers" <temp6453@hotmail.com>]
> > I run a server with many users on it. Is there any way to get
PHP-related
> > errors to enter each virtualhost's log file rather than one big one...
this
> > would allow customers to see their own logs.
>
> You didn't say which web server you're using, so I assume Apache. If
> you have configured PHP errors to go to Apache's error log, you can
> have one ErrorLog directive inside each VirtualHost section.
>
> If your needs are more specific, use SetEnv in the Apache config.
>
> - Stig
>
> --
> Stig Sæther Bakken <ssb@alltheweb.com>
> Fast Search & Transfer ASA, Trondheim, Norway
>