This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: Reverse Proxy
Author
Message |
djrealms
Newbie


Joined: 16 June 2010
Posts: 3
Posted: 17 June 2010 at 6:23pm

Hi Team

I have an internal MOSS 2007 server running on IIS7. I have a webapp http://waterconnect.sa.gov.au which I would like to publish a application from another internal web server http://internalserver:8280/waterrat/ so I have http://waterconnect.sa.gov.au/waterrat/ can you please help me with the rules for this please!

Thanks!

 

Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 18 June 2010 at 5:17am

Hello,
Please try the following code in .htaccess file:
Code:
ProxyPass http://internalserver:8280/
ProxyPassReverse http://internalserver:8280/


The .htaccess file must be in the root folder of http://waterconnect.sa.gov.au


Thank you for using our software.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 
djrealms
Newbie


Joined: 16 June 2010
Posts: 3
Posted: 19 June 2010 at 1:02am

Thanks but I dont want it to reverse proxy everything to the internal server. Only if it matches a specific folder name. How do I do this?

Thanks in advance!
Back to Top
 
djrealms
Newbie


Joined: 16 June 2010
Posts: 3
Posted: 19 June 2010 at 1:17am

I tried this but it didn't work....

ProxyPass              /folder/ http://internalserver:8280/folder/
ProxyPassReverse   /folder/ http://internalserver:8280/folder/


Edited by djrealms - 19 June 2010 at 1:39am
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 19 June 2010 at 4:04am

Hello,
Please try and move your rules into httpd.conf. Besides you may create .htaccess in /folder/ with the following rules:
Code:
ProxyPass http://internalserver:8280/folder/
ProxyPassReverse http://internalserver:8280/folder/


__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version