Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 235403

Summary: net-mail/mailgraph-1.14 does not provide complete post-install instructions
Product: Gentoo Linux Reporter: Maurice van der Pot (RETIRED) <griffon26>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.