httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chetan jain <cpjai...@gmail.com>
Subject Re: [users@httpd] Help with Apache configuration
Date Tue, 29 Dec 2015 13:43:50 GMT
Thanks Tobias,

The problem with that would be, I won't be able to ProxyPass with path in
Location bock.

--Chetan

On Tue, Dec 29, 2015 at 4:03 PM, Tobias Adolph <Tobias.Adolph@lrz.de> wrote:

> Hi Jain,
>
> did you configure those in the same virtualhost-Block?
>
> Am 18.12.2015 um 14:35 schrieb chetan jain:
>
> #For app-1
>
>    RewriteRule ^/app1$ /app1/ [R]
>    RewriteRule ^/app1/(.*) /app/WebObjects/app.woa/$1 [P]
>    ProxyPass /app/WebObjects/app.woa/ http://host_name1:app1_port
> /app/WebObjects/app.woa/
>    ProxyPassReverse /app/WebObjects/app.woa/   http://host_name1:app1_port
> /app/WebObjects/app.woa/
>
> # For app-2
>
>    RewriteRule ^/app2$ /app2/ [R]
>    RewriteRule ^/app2/(.*) /app/WebObjects/app.woa/$1 [P]
>    ProxyPass /app/WebObjects/app.woa/ http://host_name2:app2_port
> /app/WebObjects/app.woa/
>    ProxyPassReverse /app/WebObjects/app.woa/   http://host_name2:app2_port
> /app/WebObjects/app.woa/
>
>
> If this the case try to encapsulate the two blocks in separate
> Location-Blocks (like <Location /app1/> etc..
>
> Kind regards,
> Tobias Adolph
>
> --
> ###############################
> # Tobias Adolph               #		
> # Leibniz-Rechenzentrum       #
> # Zimmer I.2.019              #
> # Boltzmannstra├če 1           #	
> # 85748 Garching bei M├╝nchen  #	
> ###############################
>
>

Mime
View raw message