Henry Laxen wrote:
I have tried several things, the most recent being:

RewriteEngine on
RewriteRule ^/(.*)$ /hackTest?input=$1 [T=application/x-httpd-cgi]
<Location />
    SetHandler fastcgi-script
    Options ExecCGI FollowSymLinks
</Location>

but the pathInfo field is always null.

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

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to