Re: VHOST Logging
| From: | (Stig Sæther Bakken) | Date: | Sun, 07 Oct 2001 07:23:46 +0000 |
| Subject: | Re: VHOST Logging | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67465@lists.php.net to get a copy of this message | ||
["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