mailgraph 1.14 and cgi-bin
Jeremy Chadwick
koitsu at FreeBSD.org
Mon Sep 3 09:37:31 PDT 2007
On Mon, Sep 03, 2007 at 10:43:55PM +0800, Rong-en Fan wrote:
> I'm maintainer of mail/mailgraph. The new version (1.14) contains a
> mailgraph.css which must be put in the same directory of mailgraph.cgi.
> The problem is, if I install .css to www/cgi-bin, with many apache's
> default setting, you can not serve plain file under www/cgi-bin (it
> ScriptAlias'ed). For lighttpd, it should not be a problem.
>
> I came up with two possible solution but neither satisfies me.
> One is to install mailgraph.css under www/data/mailgraph and patch
> cgi file. Another way is to install .css to EXAMPLESDIR and tell users
> (you) to copy to a proper location (and may be some http configuration
> changes).
>
> I'm looking for better solutions to this. My hope is to keep minimal
> work required after installation. If there are no better ways, I probably
> take the first way.
If you're asking for what other porters recommend, I would recommend
going with the first method, in addition to mailing the author upstream
and urge them to reconsider the methodology used, citing exactly what
you did here. This isn't a "FreeBSD thing" in case they try to claim
that, either. ;)
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-ports
mailing list