Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235403 - net-mail/mailgraph-1.14 does not provide complete post-install instructions
Summary: net-mail/mailgraph-1.14 does not provide complete post-install instructions
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 20:51 UTC by Maurice van der Pot (RETIRED)
Modified: 2011-07-07 15:10 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 Maurice van der Pot (RETIRED) gentoo-dev 2008-08-21 20:51:53 UTC
After installing mailgraph-1.14 with the vhosts USE flag set, the user has to run webapp-config to install the application into the vhost:

  webapp-config -I mailgraph 1.14 -h myhost -d mailgraph

Also a ScriptAlias line is required in the vhost config:

  ScriptAlias /mailgraph "/var/www/myhost/cgi-bin/mailgraph.cgi"

Neither of these things are mentioned in the post-install notes, but they should be.
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2008-08-21 21:00:42 UTC
I forgot to mention that the configuration that I suggested (which is pretty common for webapps as I understand it), mailgraph doesn't work well.

The cgi refers to itself for the images. With a directory for the scriptalias, mailgraph won't work if no slash (/) is provided at the end of the url:
it somehow ends up trying to access /var/www/myhost/htdocs/mailgraph.cgi instead of /var/www/myhost/cgi-bin/mailgraph.cgi.

So http://myhost/mailgraph/ works while http://myhost/mailgraph doesn't.
Comment 2 Eray Aslan gentoo-dev 2011-07-07 15:10:17 UTC
I cannot reproduce this (the ending-slash part).  Please reopen if it is still relevant.