webalizer and apache

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gallerypost
    Confirmed User
    • Nov 2001
    • 711

    #1

    webalizer and apache

    Hey guys...

    I've installed webalizer for my hosted domains.
    And i can't get it to show the search engine keywords that used to search for that domains
    I think it bcz my apache isn't saving the refferal urls on ths access log
    I didn't find how to make it save that info on the log, can it do it ?
  • Smegma
    Confirmed User
    • Feb 2002
    • 1751

    #2
    what is the exact syntax you are using to execute webalizer?

    Post a link to your httpd.conf file.
    <a href="http://www.jupiterhosting.com"><img src="http://www.jupiterhosting.com/banners/55x55.jupiter.gif" alt="" border="0" align=""></a>

    Comment

    • trailboss
      Registered User
      • Oct 2002
      • 54

      #3
      Check your httpd.conf file to make sure you are using the combined custom log and not the common.


      #CustomLog /usr/local/apache/logs/httpd-access.log common


      CustomLog /usr/local/apache/logs/httpd-access.log combined


      Then make sure the CustomLog Directive in your virtual host files are correct.

      Comment

      • gallerypost
        Confirmed User
        • Nov 2001
        • 711

        #4
        Ok

        So :
        #
        # If you prefer a single logfile with access, agent, and referer information
        # (Combined Logfile Format) you can use the following directive.
        #
        CustomLog logs/access_log combined

        And example for virtual account :

        <VirtualHost 128.16.19.126 >
        ServerAdmin [email protected]
        DocumentRoot /home/web/domain.com
        ServerName domain.com
        ErrorLog logs/domain.com-error_log
        CustomLog logs/domain.com-access_log common
        </VirtualHost>


        What do i do wrong ?
        (it still doesn't showing the reff urls on the custom log file)

        Comment

        • gallerypost
          Confirmed User
          • Nov 2001
          • 711

          #5
          nm.. i found the solution .. on the virtual hosts i add common to the log instead of combined.

          Comment

          Working...