Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 30th January 2009, 15:35
dvazart dvazart is offline
Junior Member
 
Join Date: Dec 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 2.2.29 webalizer awstats problem

From : http://www.howtoforge.com/forums/showthread.php?t=7293
------------------------------------------------------------------------------------------------------

I'm using ISPConfig 2.2.29 but i don't have a web.log file in my web directory, i only have an error.log file...

ls /var/www/web1/log/
Code:
error.log
And i think is normal when i look this :

nano /etc/apache2/vhosts/Vhosts_ispconfig.conf
Code:
<VirtualHost 192.168.1.200:80>
ServerName www.daniel.org:80
ServerAdmin webmaster@daniel.org
DocumentRoot /var/www/web2/web
ServerAlias daniel.org
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web2/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
Alias /error/ "/var/www/web2/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
  RewriteRule .* - [F]
</IfModule>
</VirtualHost>
So... thats may be a bug in ISPConfig 2.2.29 are you forget to include this file in the vhost config ?? OR you have to modify your AWstats script....

I found this... In ISPConfig 2.2.27 (awstats and webalizer are working ok) :

ls -l log/
Code:
total 4
drwxr-xr-x 3 web2_daniel web2 4096 2008-11-19 00:30 2008
-rw-r--r-- 1 web2_daniel web2    0 2008-11-18 09:35 error.log
lrwxrwxrwx 1 web2_daniel web2   45 2008-11-19 00:30 web.log -> /var/www/www.daniel.local/log/2008/11/web.log
But in ISPConfig 2.2.29 Nothing (no awstats, no webalizer, no web.log).

ISPConfig 2.2.27 :

grep -r "web.log" /root/
Code:
/root/ispconfig/scripts/shell/logs.php:        return "$webroot/$virtual_host/log/$jahr/$monat/web.log";
/root/ispconfig/scripts/shell/logs.php:                if(@readlink("$webroot/$virtual_host/log/web.log") != get_filename($virtual_host)) {
/root/ispconfig/scripts/shell/logs.php:                        if(is_link("$webroot/$virtual_host/log/web.log")) @unlink("$webroot/$virtual_host/log/web.log");
/root/ispconfig/scripts/shell/logs.php:                        @symlink(get_filename($virtual_host),"$webroot/$virtual_host/log/web.log");
ISPConfig 2.2.29 :

grep -r "web.log" /root/
Code:
/root/ispconfig/scripts/shell/logs.php:        return "$webroot/$virtual_host/log/$jahr/$monat/web.log";
/root/ispconfig/scripts/shell/logs.php:                if(@readlink("$webroot/$virtual_host/log/web.log") != get_filename($virtual_host)) {
/root/ispconfig/scripts/shell/logs.php:                        if(is_link("$webroot/$virtual_host/log/web.log")) @unlink("$webroot/$virtual_host/log/web.log");
/root/ispconfig/scripts/shell/logs.php:                        @symlink(get_filename($virtual_host),"$webroot/$virtual_host/log/web.log");
All seems to be OK.... no ?
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
Webalizer problem MacPC Server Operation 3 15th May 2007 13:53
Problem accessing webalizer findafriend Installation/Configuration 4 1st May 2007 11:58
Problem installing ISPConfig, then with MySQL... ctroyp Installation/Configuration 7 26th September 2005 16:37


All times are GMT +2. The time now is 04:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.