It is currently Mon, 27 Jun 2022 12:45:08 GMT



 
Author Message
 log file of http requests
Hi there
For logging the IP address of people who have browsed my computer, shall I
activate a special program or is it already done?
Many thanks,
Yazdan


 Sun, 27 Jun 2004 13:13:18 GMT   
 log file of http requests
Yazdan,

I've cut these lines from my httpd.conf.

Take a look at them. Note that only the last line is uncommented.

Cheers,
Marcello.

----------------
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here.  Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
#CustomLog /var/log/httpd-access.log common

#
# If you would like to have agent and referer logfiles, uncomment the
# following directives.
#
#CustomLog /var/log/httpd-referer.log referer
#CustomLog /var/log/httpd-agent.log agent

#
# If you prefer a single logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
CustomLog /var/log/httpd-access.log combined



 Sun, 27 Jun 2004 23:28:33 GMT   
 
   [ 2 post ] 

Similar Threads

1. shell script to log http request

2. Logging connections and HTTP requests

3. HTTP request header log.

4. file size added to HTTP requests, goes wrong

5. Apache Proxy server that will transform an HTTP request in a HTTPS request

6. Can't process http/1.0 requests or proxy requests

7. Log file analyser - HTTP report generator

8. Why http (squid) logs file can not refresh

9. Request code for log-file mechanism


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software