Re: [Haskell-cafe] Re: Hack (web) and apache configuration

2009-06-26 Thread Brandon S. Allbery KF8NH

On Jun 25, 2009, at 13:31 , Henry Laxen wrote:
It reminds me of a saying I heard once.  If carpenters built houses  
the way
programmers write programs, you could walk into any house, remove  
any single
nail, and the structure would collapse into pieces no larger than  
toothpicks.



Weinberg's Law:  "If carpenters built houses the way programmers write  
programs, then the first woodpecker that came along would destroy  
civilization."


--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon universityKF8NH




PGP.sig
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Hack (web) and apache configuration

2009-06-25 Thread Simon Michael

harack ? *Harack*. Excuse me.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Hack (web) and apache configuration

2009-06-25 Thread Henry Laxen

Anton van Straaten  appsolutions.com> writes:

> Path info is path-like data that directly follows the name of the 
> resource being referenced, e.g.: /myfiles/foo.html/this/is/path/info
> 
> A rule that would give you path info in the case you describe would be 
> more like this:
> 
>RewriteRule ^/(.*)$ /hackTest/$1 [T=application/x-httpd-cgi]
> 
> Whether that works depends on how /hackTest is being dispatched, but if 
> Hack expects pathinfo, then it may just work.
> 
> Anton
> 

Dear Anton,

Thank you, that works perfectly.  That's what I love about programming, just
change a single character, and the world goes from total chaos to perfect order.
 It reminds me of a saying I heard once.  If carpenters built houses the way
programmers write programs, you could walk into any house, remove any single
nail, and the structure would collapse into pieces no larger than toothpicks.

Thanks again.
Henry




___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe