Reverse Proxy URL confuion.

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

 



I am setting up a reverse proxy of an application. I have it working mostly except I can get the URLs to respond like I want to. it seem it should be simple but now I've gotten myself confused.

      <VirtualHost * >

       ServerName application.mydomain.com
ProxyRequests Off

        <Proxy *>
        Order deny,allow
        Allow from all
        </Proxy>

        ProxyPreserveHost On
        ProxyPass / http://IPaddresshere/
        ProxyPassReverse /  http://IPaddress/

The application root is http://IPaddress/application I'd like the URL http://application.mydomain.com to open the application login

The configuration above works if I open http://application.mydomain.com/application.

I'd like to eliminate the  /application

If in <VirtualHost>I add

ProxyPass /http://IPaddress/application/

I get the login but subsequently I get

http://application.mydomain.com/application/file.aspx

instead of

http://application.mydomain/file.aspx

However if I manually enter

http://application/mydomain.com/file.aspx

Everything then seems to work.

I don't have access to the application so I can't see what it is doing.
--
*Robert Steinmetz, AIA*
Principal
*Steinmetz & Associates*

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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