Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Apache log files - per site log files:


Re: Apache log files - per site log files
Posted by xrat (193.80.xx.xx) on Thu 1 Dec 2005 at 09:56
I am afraid I can only speak for Apache 1.3.x. There, for a limited number of virtual hosts, I simply use
<virtualhost>
...
ErrorLog /home/(userslogin)/(somedir)/(vhost)-error_log
CustomLog /home/(userslogin)/(somedir)/(vhost)-access_log combined
</virtualhost>
If you create the 2 files before reloading apache's configuration and if your (customized) logrotation takes care of permissions and ownership you should be fine.

I guess that this applies to Apache 2.x, too. Or am I missing something?


Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search