Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125779 - awstats with webapp-config - "icon" instead of "icons"
Summary: awstats with webapp-config - "icon" instead of "icons"
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 202259 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-10 17:06 UTC by Marius Kjeldahl
Modified: 2007-12-14 21:14 UTC (History)
1 user (show)

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 Marius Kjeldahl 2006-03-10 17:06:34 UTC
When installing awstats with the vhost flag active, using webapp-config to install it onto a virtual host, a directory is created under htdocs like "awstats/icon", while the application and related pages refer to "awstats/icons". Seems like a simple typo.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-11 00:50:20 UTC
No, it's not a typo. Read the postinstall instructions and setup the needed aliases.

<snip>
Alias /awstats/classes "/usr/share/webapps/awstats/<version>/htdocs/classes/"
Alias /awstats/css "/usr/share/webapps/awstats/<version>/htdocs/css/"
Alias /awstats/icons "/usr/share/webapps/awstats/<version>/htdocs/icon/"
ScriptAlias /awstats/ "/usr/share/webapps/awstats/<version>/hostroot/cgi-bin/"
ScriptAlias /awstats "/usr/share/webapps/awstats/<version>/hostroot/cgi-bin/awstats.pl
"
ScriptAlias /awstats.pl "/usr/share/webapps/awstats/<version>/hostroot/cgi-bin/awstats
.pl"
</snip>
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-14 14:56:19 UTC
*** Bug 202259 has been marked as a duplicate of this bug. ***
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2007-12-14 15:53:00 UTC
(In reply to comment #1)
> No, it's not a typo. Read the postinstall instructions and setup the needed
> aliases.

This is completely awful, since you have to change apache config on each upgrade because the /awstats directories aliased via apache are version specific. Additionally it wouldn't make sense then to install these files additionally into the docroot.

I suggest to remove the alias crap from postinstall and fixe the model.conf

kthxbye
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-12-14 16:45:21 UTC
(In reply to comment #3)
> I suggest to remove the alias crap from postinstall and fixe the model.conf
> Additionally it wouldn't make sense then to install these files
> additionally into the docroot.

Can't do any such thing, it does NOT work without the aliases - plus the config file is per-vhost (that's why you need the aliases). If you dislike it, the tell upstream to provide something better, current removing any aliases is plain no-go.
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2007-12-14 16:53:56 UTC
it works like a charm without an alias on a lot of boxes here
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-12-14 16:56:49 UTC
(In reply to comment #5)
Well, so don't use the aliases if you dislike it. And no, it doesn't work like a charm here, it plain doesn't work at all without them.

http://awstats.sourceforge.net/docs/awstats_setup.html

Comment 7 Benedikt Böhm (RETIRED) gentoo-dev 2007-12-14 21:14:31 UTC
a fixed, alias-free version can be found at: 
http://overlays.gentoo.org/svn/dev/hollow/net-www/awstats/