1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to configure apache logs for virtual host, (copy log file to homedir of user )

Discussion in 'Apache' started by moath11, Jul 19, 2014.

  1. #1
    I'm trying to configure Apache logs to split logs files for every virtual host on the server

    for example: {site1 .com} => copy access_log to /home/site1/public_html/logs {site2 .com} => copy access_log to /home/site2/public_html/logs .. {site3 .com} => copy access_log to /home/site3/public_html/logs

    i want to also to make sure is the logs files updated in the real time

    operating system is CentOs6, with Apache and cPanel
    SEMrush
    how i can do that ?

    thanks for help
     
    moath11, Jul 19, 2014 IP
    SEMrush
  2. moath11

    moath11 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    thanks guys, it's already configured, found the logs under

    /home/user/access-logs/domain.ltd
     
    moath11, Jul 19, 2014 IP