View previous topic :: View next topic |
Author |
Message |
eXt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Oct 2005 Posts: 66 Location: Sweden
|
Posted: Sat Jul 15, 2006 1:07 pm Post subject: Apache vhost logging |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Sun Jul 16, 2006 8:11 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|