.\"
.\" darkstat 3
-.\" Copyright 2001-2011, Emil Mikulic.
+.\" Copyright 2001-2014, Emil Mikulic.
.\"
.\" You may use, modify and redistribute this file under the terms of the
.\" GNU General Public License version 2. (see COPYING.GPL)
] [
.BI \-b " bindaddr"
] [
+.BI \-\-base " path"
+] [
.BI \-f " filter"
] [
.BI \-l " network/netmask"
The default is to listen on all interfaces.
.\"
.TP
+.BI \-\-base " path"
+.RS
+Specify the path of the base URL.
+This can be useful if \fIdarkstat\fR is accessed via a reverse proxy.
+
+For example, if you use Apache's \fImod_proxy\fR and want to avoid a
+complicated setup with \fImod_proxy_html\fR (and \fImod_header\fR to unset
+the \fIAccept-Encoding\fR header), just set the base path to something like
+\fIstats\fR and use a config similar to the following snippet:
+
+.IP
+ ProxyPass /stats/ http://localhost:667/stats/
+ ProxyPassReverse /stats/ http://localhost:667/stats/
+.PP
+
+The default is \fI/\fR (i.e. the root).
+.RE
+.\"
+.TP
.BI \-f " filter"
Use the specified filter expression when capturing traffic.
The filter syntax is beyond the scope of this manual page;
please refer to the
-.BR tcpdump (1)
+.BR tcpdump (8)
documentation.
.\"
.TP
.PP
.\"
(For a full reference on filter syntax, refer to the
-.BR tcpdump (1)
+.BR tcpdump (8)
manpage)
.PP
.\"
an appropriate netmask.
.\"
.SH SEE ALSO
-.BR tcpdump (1)
+.BR tcpdump (8)
.\"
.SH HISTORY
.I darkstat