[Haskell-cafe] Help needed with apache config for hackage

George Pollard porges at porg.es
Sun Feb 15 22:34:53 EST 2009


On Fri, 2009-02-13 at 22:39 +1100, George Pollard wrote:
>   RewriteRule "^packages/archive/[^/]+/[^/]+/(.+)$" - [env=pkgname:$1]

This should actually be more constrained since (as I've just noticed)
more than just packages are under this path :)

Perhaps:
> RewriteRule "^packages/archive/[^/]+/[^/]+/([^/]+\\.tar\\.gz)$" -
> [env=pkgname:$1]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090216/8b5818a6/attachment.bin


More information about the Haskell-Cafe mailing list