Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185026 - net-www/awstats-6.5-r1 doesn't out put an index.html file
Summary: net-www/awstats-6.5-r1 doesn't out put an index.html file
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-12 03:57 UTC by Jason Carson
Modified: 2011-10-30 23:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Carson 2007-07-12 03:57:42 UTC
When I ran awstats 6.5-r1 it created several files in my output directory but it didn't create an index.html which is what you view.

Reproducible: Always

Steps to Reproduce:
1.install and configure awstats
2.Run awstats and move to output directory
3.there is no index.html
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-07-12 04:33:10 UTC
This bug has nothing to with bugzilla itself.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-12 05:37:50 UTC
You did run exactly what command?
Comment 3 Jason Carson 2007-07-12 21:04:17 UTC
(In reply to comment #2)
> You did run exactly what command?
> 
The command I ran was...

/var/www/localhost/cgi-bin/awstats.pl -config=canuckster -update

...my config file is called awstats.canuckster.conf
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-07-12 21:10:34 UTC
Well, that won't produce html files... You'd need something like

`awstats.pl -config=canuckster -output -staticlinks > index.html`

for that.
Comment 5 Jason Carson 2007-07-13 01:22:29 UTC
(In reply to comment #4)

In the awstats config file, there are 2 options which says the following...

# When AWStats updates its statistics, it stores results of its analysis in
# files (AWStats database). All those files are written in the directory
# defined by the "DirData" parameter. Set this value to the directory where
# you want AWStats to save its database and working files into.
# Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser"
# feature (see later), you need "Write" permissions by web server user on this
# directory (and "Modify" for Windows NTFS file systems).
# Example: "/var/lib/awstats"
# Example: "../data"
# Example: "C:/awstats_data_dir"
# Default: "."          (means same directory as awstats.pl)
#
DirData="/var/www/localhost/htdocs/canuckster/awstats"


# Default index page name for your web server.
# Change : Effective for new updates only
# Example: "index.php index.html default.html"
# Default: "index.html"
#
DefaultFile="index.html"

But no index.html file is created in the directory specified. Do you know a good guide to getting awstats working on Gentoo?

Comment 6 Jason Carson 2007-07-13 01:25:39 UTC
(In reply to comment #5)
> (In reply to comment #4)
Nevermind, didn't see the command entered in the previous post...

awstats.pl -config=canuckster -output -staticlinks > index.html

Its working with that.
Comment 7 Jason Carson 2007-07-13 01:36:15 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> Nevermind, didn't see the command entered in the previous post...
> 
> awstats.pl -config=canuckster -output -staticlinks > index.html
> 
> Its working with that.
> 
Still not working properly, I need a good FAQ setting awstats up on Gentoo
Comment 8 Jason Carson 2007-07-13 03:03:30 UTC
I got it working