Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 125779
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WORKSFORME
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marius Kjeldahl <marius@kjeldahl.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125779 depends on: Show dependency tree
Bug 125779 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-10 17:06 0000
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 From Jakub Moc (RETIRED) 2006-03-11 00:50:20 0000 -------
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 From Jakub Moc (RETIRED) 2007-12-14 14:56:19 0000 -------
*** Bug 202259 has been marked as a duplicate of this bug. ***

------- Comment #3 From Benedikt Böhm 2007-12-14 15:53:00 0000 -------
(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 From Jakub Moc (RETIRED) 2007-12-14 16:45:21 0000 -------
(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 From Benedikt Böhm 2007-12-14 16:53:56 0000 -------
it works like a charm without an alias on a lot of boxes here

------- Comment #6 From Jakub Moc (RETIRED) 2007-12-14 16:56:49 0000 -------
(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 From Benedikt Böhm 2007-12-14 21:14:31 0000 -------
a fixed, alias-free version can be found at: 
http://overlays.gentoo.org/svn/dev/hollow/net-www/awstats/

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug