Forum Moderators: phranque
Could you anyone be kind to let me know if it is possible to make it this way:
When a visitor download any of the files in [site1.com...] hide the link,and show him or her the link [site1.site2.com...]
Is it possible to be done by mod rewrite way?I will appreciate any of your help!
Thanks and best regards
Alexandra
It's not very clear what you are trying to do. Can you explain a little bit more about this?
Also, you are referring to a second site. Is this site on the same server, or is it on another server? Is this second site under your control? Do you want the second site to see these requests as coming from your site?
You may be able to use a combination of URL rewriting and mod_proxy to do this, depending on the answers to these questions.
Jim
Using mod_proxy, you can make a second server appear to be "inside" your own server. However, the server logs on the second server will show all requests coming from your server, rather than from the originating "browser".
See the Apache mod_proxy ProxyPass [httpd.apache.org] directive for more information.
Jim
I am new to mod proxy,actually,after reading the documentation, I tried it this way:
ProxyRequests Off
proxypass [site1.com...] [site2.com...] [P]
This file (http://www.site1.com/file/abc.zip) does not exist,but [site2.com...] does exist. I want it to be redirected without knowing by the visitor even they are using download manager software or something like that.
but it showed me internal server error,can you please help?
thanks
alexandra