httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jehan PROCACCIA <Jehan.Procac...@int-evry.fr>
Subject [users@httpd] VirtualHost logs catches all logs :-(
Date Thu, 09 Mar 2006 18:29:18 GMT
My virtual host logs catches all logs :-( ,  and not only the 
access/error for that virtual hosts, I don't even have the main server 
logs anymore :-(
Here's my logs configuration in my virtual-host 
"/etc/httpd/conf.d/jehan-procaccia.conf"
<VirtualHost jehan-procaccia.int-evry.fr:80>
....
   ErrorLog 
/mci/mci/procacci/public_html/logs/jehan-procaccia.int-evry.fr-error_log
   CustomLog 
/mci/mci/procacci/public_html/logs/jehan-procaccia.int-evry.fr-access_log 
common
</VirtualHost>

In DNS I just put a second record to point to the main server IP 
(157.159.10.52 = main server www-public.int-evry.fr)
jehan-procaccia.int-evry.fr. 172800 IN  A       157.159.10.52

http://jehan-procaccia.int-evry.fr/logs/jehan-procaccia.int-evry.fr-access_log 
show all log access even access for the main server config user_dir 
(~logins) 

Global apache settings contains:
ErrorLog logs/error_log
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log combined

that latest log should be in /var/log/httpd/access_log , but since I 
configured the virtualhost above , it is not anymore receiving logs, all 
logs goes in 
/mci/mci/procacci/public_html/logs/jehan-procaccia.int-evry.fr-access_log
What I am doing wrong ? what is the best way to give access to their own 
personnal logs to users ?

Thanks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message