Hello
I have a Web Server in my LAN, user access the web server from internet via a RouterBoard (i have DST-NAT a port to web server).
I want to log their activity, what url they access in my web server.
How can i do that ?
Thank you for your Help.
blake
October 4, 2010, 4:26am
2
You need to do this in the web server. What server is it? Here’s documentation for the logging modules of a few popular Unix-based web servers…
Apache - Log Files
nginx - Http Log Module
lighttpd - mod_access_log
It’s a Network Attached Storage (NAS), so i think there is no Configurable Webserver application in it.
Mobile users in my office access it to get daily report, they access the web part of NAS and download it.
blake
October 4, 2010, 6:24am
4
In that case you’ll want to setup a reverse proxy in order to log the accessed URLs. MikroTik can do this.
http://wiki.mikrotik.com/wiki/Multiple_Web_Servers
http://wiki.mikrotik.com/wiki/Manual:System/Log#Example:Webproxy_logging
Replace references to ‘web-proxy’ with just ‘proxy’.
If that doesn’t work, here’s some Unix apps which should. I could assist you configuring one of these if needed.
Squid - Reverse Proxy Mode
Apache - mod_proxy
lighttpd - mod_proxy
nginx - proxy
Varnish