Can you use ProxyPass?
Pseudo apache config:
ServerName myapp1
ProxyPass / http://localhost:8080/
ServerName myapp2
ProxyPass / http://localhost:8081/
On 13/05/2009, kRON wrote:
>
> Dear all,
>
> I was wondering if someone could point me in the right direction for
> creating neat alias
Thanks, that worked like a charm!
On May 13, 11:27 pm, Barry Hunter wrote:
> Can you use ProxyPass?
>
> Pseudo apache config:
>
>
> ServerName myapp1
> ProxyPass /http://localhost:8080/
>
>
>
> ServerName myapp2
> ProxyPass /http://localhost:8081/
>
>
> On 13/05/2009, kRON wrote:
>
>
>
>
>
This is an alternative:
ServerName myapp1
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8080/$1 [P,L]
ServerName myapp2
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8081/$1 [P,L]
Also works with Google Secure Data Con