Web Hosting Talk







View Full Version : Plesk and log files


Vortech
04-26-2001, 03:58 PM
Help
No matter what I do i can't seem to get reffers to output correctly with webalizer I thnk that plesk is not writing the log file correctly here is my apache setting in httpsd.conf
LogFormat "%h %v %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

this is what is in the logs

xxx.xxx.xxx.xxx - - [27/Apr/2001:03:50:16 +0000] "GET /xxvxx/connie/con07t.jpg HTTP/1.1" "http://www.xxxxx.com/2000/indexes/ddindex.html" 404 318

my reffers section shows the last number in the entry 318 as the referer someone please help me please please please

this is the last thing that I have to get working

jayglate
04-26-2001, 08:38 PM
I have the same problem, with plesk and webalizer and have not had the time to figure it out. If you do please drop me a line.

eilko
05-03-2001, 10:57 AM
See the FAQ at plesk.com:

How do you change the default Apache log format for domains?

The default Apache LogFormat can be changed for each individual domain by creating a vhost.conf and vhost_ssl.conf file in the /usr/local/plesk/apache/vhosts//conf/ directory.


Creation of the vhost_ssl.conf is only neccessary if SSL has been enabled for the domain. The new LogFormat would then be placed and saved within these files. Next, the /usr/local/plesk/admin/utils/my_apci_rst utility must be run in order for Apache to recognize the new configuration. More complete information about the vhost.conf files is located in Section 5.1 of the PSA 1.3.1 Manual.


Works for me... :D

Eilko