Help with Apache Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tiffana
    Registered User
    • Sep 2001
    • 4

    #1

    Help with Apache Server

    Hi everybody.

    Is there anybody who can tell me how i make the Apache log contain referrer information.

    Ive read the help 200 times and changed the information accordingly but it doenst seem to work no matter what i do..


    Its really begun to bug me cause when i run a log analyzer I cant see where people come from and what galleries are posted where and what works for me.

    help....

    Hugs Tiffana
    Life is a gift - its to be used, not wasted
  • willow
    Confirmed User
    • Dec 2001
    • 131

    #2
    Somewhere at the top of the httpd.conf:
    LogFormat "%A %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

    Then where you need it, eg in a VirtualHost section:
    CustomLog logs/mylogfile.log combined

    See these keywords in the manual at apache.org

    Comment

    Working...