RewriteRule question

2011-08-25 Thread Denys

Hello dear community -

I need to create some kind of proxy using Apache Server.

I tried to use something like
ProxyPass /test1/test2/ http://another_server/test/test.dll but had no
success because ProxyPass require / suffix after the second URL (something
like http://another_server/test/test.dll). In my case adding / is not
working because now test.dll part is meant as a directory instead of a file
test.dll inside test directory (my IIS server thinks so).

After that I tried to use RewriteRule. For example:
RewriteRule /test1/test2/ http://another_server/test/test.dll. This time
redirection is working perfectly - I see the desired page, but the URL is
completely changed to the new one and I want end users to see the first part
of the URL unchanged (the part with the server name and port). E.g. if user
enters like http://server1/test1/test2/ I would like him to see something
like http://server1/test1/test2/... after redirection.

Are there any ability to achieve this?

Any kind of help is greatly appreciated.

Thanks in advance.
-- 
View this message in context: 
http://old.nabble.com/RewriteRule-question-tp32332668p32332668.html
Sent from the Apache HTTP Server - Module Writers mailing list archive at 
Nabble.com.



Re: RewriteRule question

2011-08-25 Thread Denys

Do you mean, Nick, that I have submitted the question to the wrong branch?



Nick Kew-3 wrote:
 
 On 25 Aug 2011, at 10:15, Denys wrote:
 
 Any kind of help is greatly appreciated.
 
 Start by reading TFM.
 
 If you still can't understand, try a user support forum.
 
 View this message in context:
 http://old.nabble.com/RewriteRule-question-tp32332668p32332668.html
 
 Oh, right, a website that appropriates our list and misleads (some) users.
 
 Sent from the Apache HTTP Server - Module Writers mailing list archive at
 Nabble.com.
 
 But that looks clear enough to me.  Is the website so two-faced as to be
 unclear about that,
 or do you struggle with English?
 
 -- 
 Nick Kew
 

-- 
View this message in context: 
http://old.nabble.com/RewriteRule-question-tp32332668p32332926.html
Sent from the Apache HTTP Server - Module Writers mailing list archive at 
Nabble.com.



Re: RewriteRule question

2011-08-25 Thread Nick Kew
On 25 Aug 2011, at 11:04, Denys wrote:

 
 Do you mean, Nick, that I have submitted the question to the wrong branch?

branch?  What's a branch?  This is a mailing list for module developers!

Sorry, my reply was OTT.  I just get a bit cross at some of the stuff that gets
misdirected from nabble.com.

-- 
Nick Kew

Re: RewriteRule question

2011-08-25 Thread Nick Kew

On 25 Aug 2011, at 11:04, Denys wrote:

 
 Do you mean, Nick, that I have submitted the question to the wrong branch?

branch?  What's a branch?  This is a mailing list for module developers!

Sorry, my reply was OTT.  I just get a bit cross at some of the stuff that gets
misdirected from nabble.com.

-- 
Nick Kew