[plt-scheme] web server behind apache
On Nov 4, Corey Sweeney wrote:
> If anyone cares, a better solution to this is:
>
> {in your apache httpd.conf file}
>
> ExtFilterDefine plt mode=output cmd="/usr/bin/sed
> 's/\\/servlets;/\\/plt-ws\\/servlets;/'"
This is not a great solution. A better way would be to detect the
headers that Apache adds (I think it's x-forwarded-host
x-forwarded-for) and deal with it. In the generated output, an easy
way to deal with the different place is to add a different base
directory (something like <base href=...>), but IME it's better to
just generate proper links.
> [...]
> ((lambda (y) (y y)) (lambda (y) (y y)))
x!
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!