RewriteRule question

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

 



Hello -

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

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

After that I tried to use RewriteRule. For example:
RewriteRule /example/ http://example.com. 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:port1/example/ I would like him to see something like
_http://server1:port1/example/... 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-tp32332990p32332990.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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