Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache vhost logging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
eXt
n00b
n00b


Joined: 09 Oct 2005
Posts: 66
Location: Sweden

PostPosted: Sat Jul 15, 2006 1:07 pm    Post subject: Apache vhost logging Reply with quote

I can't get logging to work with vhosts. The logsfiles are created but empty. This is my config:

Code:

<VirtualHost *:80>
   DocumentRoot /www/example.com                                                                                   
   ServerName example.com
   AcceptPathInfo On

   Alias /wiki /www/example.com/index.php
   Alias /index.php /www/example.com/index.php

   #CustomLog /var/www/example.com/access_log combined
   CustomLog /var/www/example.com/access_log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
   ErrorLog /var/www/example.com/error_log
</VirtualHost>

( /www is symlinked to /var/www) Any tips to get it working?
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Sun Jul 16, 2006 8:11 pm    Post subject: Reply with quote

I think you should try to do it with the common log format and get that working first. Then move to defining the more fancy version. Maybe stick with the standard log location for Apache too, for the time being.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum