Re: awstats, how to see in a browser?
On Tuesday 16 February 2021 15:54:12 Thomas Pircher wrote:
> Gene Heskett wrote:
> >I finally got around to changing awstats.conf to look at the httpd
> > logs since the apache2 logs haven't been used in a while, but 2
> > changes in browsers has lost the localhost link to see what it is
> > spitting out.
> >
> >Does anyone recall the address to send a browser to?
>
> awstats does not start a web server. You can use it in 2 modes,
> depending on your configuration:
> - as a CGI script
> - as an offline HTML generator
>
> In either case you need a web server to serve the HTML to your
> browser. Your best chance is to check your server configuration (I'd
> start with /etc/apache2/conf-available/awstats.conf if you are using
> Apache) for the URL.
>
Apache2 is running, you can see it at the link in the sig.
> The installation process is described in
> /usr/share/doc/awstats/README.Debian.gz so if you have followed those
> instructions, then the path in the URL would be /cgi-bin/awstats.pl
>
apt/synaptic installed so I assume you mean /var/www etc
ene@coyote:/var/www/cgi-bin$ ls -R
.:
add_annotation.pl dansguardian.pl gitweb inclist.pl lsetlist.pl
sel_to_add.pl text4sel.pl upsset.cgi upsstats-single.html
view_lset.pl
cvsweb.cgi dhcpstatus.cgi gitweb.cgi ipcalc.pl
same_in_otherrun.pl test.cgi upsimage.cgi upsstats.cgi
view_annotations.pl
./gitweb:
> If your web server is running, then you should at least see the
> process in the output of
ss -nlpt
A new to me command but:
ss -nlpt:
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 5 0.0.0.0:631 0.0.0.0:*
LISTEN 0 128 0.0.0.0:443 0.0.0.0:*
LISTEN 0 32 0.0.0.0:7741 0.0.0.0:*
LISTEN 0 64 0.0.0.0:10080 0.0.0.0:*
LISTEN 0 128 0.0.0.0:6309 0.0.0.0:*
LISTEN 0 16 127.0.0.1:3493 0.0.0.0:*
LISTEN 0 128 0.0.0.0:3142 0.0.0.0:*
LISTEN 0 64 0.0.0.0:6566 0.0.0.0:*
LISTEN 0 5 0.0.0.0:19150 0.0.0.0:*
LISTEN 0 128 127.0.0.1:783 0.0.0.0:*
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 5 [::]:631 [::]:*
LISTEN 0 128 [::]:3142 [::]:*
LISTEN 0 5 [::]:19150 [::]:*
> Thomas
Thank You.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: