Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: ReWrite Proxy from external to internal Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
theh1982
Newbie
Newbie


Joined: 29 July 2010
Online Status: Offline
Posts: 1
Posted: 29 July 2010 at 10:34am | IP Logged Quote theh1982

Hi Guys,

Our company bought the dll and we installed it but when trying to following

http://localhost:82/ should proxy and load http://10.10.21.2:8000 address. Eventually that localhost address will be replace with http://217.114.XXX.XXX:82/ so that from the internet the internal 10.10 address can be loaded and see.

so using the example in the documentation we setup a blank iis website with the following .htaccess file

RewriteLogLevel 9
RewriteEngine on
RewriteBase /
RewriteProxy ^(.+)$ http://10.10.21.2:8000$1 [NC,CR]

But this does not seem to work..

The log states:

applying pattern '^(.+)$' to uri ' '

Any help ?
Back to Top View theh1982's Profile Search for other posts by theh1982
 
AndrushkaUS
Senior Member
Senior Member


Joined: 13 November 2009
Location: United States
Online Status: Offline
Posts: 1545
Posted: 30 July 2010 at 4:35am | IP Logged Quote AndrushkaUS

Hello,
my suggestion is
Code:
RewriteLogLevel 9
RewriteEngine on
RewriteBase /
RewriteProxy ^(.*)$ http://10.10.21.2:8000$1 [NC,CR]


.+ - means 1 or more symbols
.* - 0 or more symbols.

You've requested an empty path. That was the issue.

Regards
Andrew

__________________
The will to conquer is the first condition of VICTORY
Back to Top View AndrushkaUS's Profile Search for other posts by AndrushkaUS
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum