[users@httpd] VirtualHost logs catches all logs :-(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux