Re: Apache Proxy Setup issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thank you for your reply. Here is the virtualhost entry:-

<VirtualHost mylaptop.company.com:80>
ServerName mylaptop.company.com
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE

RewriteRule ^/sonar/* http://mylaptop.company.com:81/sonar/*

ProxyPass / http://mylaptop.company.com:81/
ProxyPassReverse / http://mylaptop.company.com:81/
ProxyPass /sonar/* http://mylaptop.company.com:81/sonar/*
ProxyPassReverse /sonar/* http://mylaptop.company.com:81/sonar/*
ProxyPass /sonar/openid/validate/* http://mylaptop.company.com:81/sonar/openid/validate/*
ProxyPassReverse /sonar/openid/validate/* http://mylaptop.company.com:81/sonar/openid/validate/*

</VirtualHost>


Thanks & Regards,
Jitesh Dundas

Phone - 732-357-6292





On Fri, Feb 15, 2013 at 8:30 PM, Igor Cicimov <icicimov@xxxxxxxxx> wrote:


On 16/02/2013 2:44 AM, "jitesh dundas" <jbdundas@xxxxxxxxx> wrote:
>
> Hi Everyone,
>
> I am trying to setup the Apache HTTP Server to handle requests from my Tomcat 7 application.
> So for example any URL -> http://sonar.it.xyz.com should actually handle requests from the application:-
>
>  http://tomcat:81/sonar .
>
> I used Proxypass and ReverseProxyPass for this and it seems to be handling requests from http://sonar.it.xyz.com/sonar but not http://sonar.it.xyz.com
>
> In short, I wanted to remove the /sonar part from the URL ..I have a virtualhost defined to handle this.
>
> Thanks & Regards,
> Jitesh Dundas
>
> Phone - 732-357-6292
>
Show us the statements you used



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux