This is an alternative:
<VirtualHost *:80>
ServerName myapp1
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8080/$1 [P,L]
</VirtualHost>
<VirtualHost *:80>
ServerName myapp2
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8081/$1 [P,L]
</VirtualHost>
Also works with Google Secure Data Connector (SDC) to use alternative
ports on local services instead of only port 80 or 443.
/Emil Kjer
On May 14, 12:58 pm, kRON <[email protected]> wrote:
> Thanks, that worked like a charm!
>
> On May 13, 11:27 pm, Barry Hunter <[email protected]> wrote:
>
> > Can you use ProxyPass?
>
> > Pseudo apache config:
>
> > <VirtualHost>
> > ServerName myapp1
> > ProxyPass /http://localhost:8080/
> > </VirtualHost>
>
> > <VirtualHost>
> > ServerName myapp2
> > ProxyPass /http://localhost:8081/
> > </VirtualHost>
>
> > On 13/05/2009, kRON <[email protected]> wrote:
>
> > > Dear all,
>
> > > I was wondering if someone could point me in the right direction for
> > > creatingneataliases for each application to avoid the URL clashes
> > > and clutter in my browser.
>
> > > Ideally, I'd like something likehttp://myapp1/.$tobind to localhost:
> > > 8080 andhttp://myapp2/.$tolocalhost:8081. I have Windows 7 RC1 and
> > > Apache 2.2. I've created entries in my hosts file for myapp1 and
> > > myapp2 to point to 127.0.0.1 and created VirtualHost entries, but the
> > > problem is that I'm either left with redirecting or rewriting the URL
> > > which, in the end, doesn't mask me from seeinghttp://localhost:8081.
>
> > > Sorry if this isn't the right place to ask, but I'd appreciate any
> > > pinpoints!
>
> > --
> > Barry
>
> > -www.nearby.org.uk-www.geograph.org.uk-
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---