New Karrigel page in Wikipedia
Paul Rubin
http
Thu Apr 13 12:09:17 EDT 2006
Roel Schroeven <rschroev_nospam_ml at fastmail.fm> writes:
> /var/www/karrigell1
> /var/www/karrigell2
>
> How do I configure everything so that they are accessible via
>
> http://hostname/karrigell1
> http://hostname/karrigell2
You mean you want your apache server to proxy the Karrigell pages?
I usually do that with the rewrite module rather than trying to figure
out how to use mod_proxy directly. It's been a while, but you'd
say something like:
RewriteEngine on
RewriteRule ^/karigell1$ http://localhost:1234/karrigell1 [P]
RewriteRule ^/karigell2$ http://localhost:1234/karrigell2 [P]
The ^/karigell1$ is a regexp to say what url's to rewrite, the
http://localhost:1234/karrigell1 (etc) is where you'd run your
Karrigell server, and the [P] tells mod_rewrite to proxy the
target url.
More information about the Python-list
mailing list