no web.log

Discussion in 'Installation/Configuration' started by porjo, Mar 3, 2007.

  1. porjo

    porjo New Member

    I have ISPconfig 2.2.10 installed on Centos 4 box. Most things are working nicely (big thankyou to the developers!).

    One small problem - every site I create does not have a web.log in /var/www/webx/log/. There is error.log but no web.log

    All access logging is instead going into /var/logs/httpd/access.log.

    The virtual host has an ErrorLog directive but no CustomLog directive (is this normal?):

    Code:
    ######################################
    # Vhost: www.test.com:80
    ######################################
    #
    #
    <VirtualHost 63.97.251.237:80>
    ServerName www.test.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web9/web
    ServerAlias test.com
    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/web9/log/error.log
    Alias /error/ "/var/www/web9/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/web9/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web9/user/$1/web/$3
    </VirtualHost>
    #
     
    Last edited: Mar 3, 2007
  2. porjo

    porjo New Member

    Sorry, I was misunderstanding the way in which the web.log is generated - not by Apache but by some other script (run from crontab?)

    Anyway, the web.log has appeared now, some time after I created the site.

    :)
     
  3. martinfst

    martinfst Member Moderator

    All website data is gathered during the day in a file called /var/log/httpd/ispconfig_access_log, which is processed around midnight to be split in separate logfiles per website.
     

Share This Page