1. Mod proxy or mod rewrite?
Hi,
I'm trying to get the following to work, and I'm not sure how to go
about it (or if it's possible).
I'm hosting a web site (www.otherdomain.com) which is not in my domain
(www.mydomain.com). The domain hosting company for "otherdomain.com" is
forwarding http://www.otherdomain.com to
http//www.mydomain.com/otherdomain/. When someone goes to the site, I'd
like them to *see* http://www.otherdomain.com (the original URL) rather
than http://www.mydomain.com/otherdomain/.
I've set up a virtual host in Apache for www.otherdomain.com and I have
a DNS zone set up for otherdomain.com on my machine. If I go to
http://www.otherdomain.com from my machine, I get the correct page and
the URL in my browser's location field is http://www.otherdomain.com,
which is what I want. However, I haven't been able to set things up so
that if I type http://www.mydomain.com/otherdomain/ I see
http://www.otherdomain.com.
I guess what I'm thinking is that when the original URL is forwarded to
my web server, Apache would forward or re-write that URL to the original
URL, which my machine's DNS would resolve locally and send back to
Apache which would handle it via the virtual host setup.
I've fooled around a little with mod_rewrite and mod_proxy but haven't
gotten it to work. Can anyone point me in the right direction?
Thanks,
-Steve
--
"If you watch TV news, you know less about the world than if you just
drank
gin straight from the bottle." - Garrison Keillor
2. Is there any good reason to leave IPv6 enabled in the kernel?
3. ftp client proxy ms proxy firewall http proxy unix
4. Runing Xmahjongg on a VGA
5. suse proxy-suite (ftp-proxy)
6. AdvanSys SCSI and non Jav SCSI device
7. Using Mod Proxy with Weblogic
8. HELP: setup a Linux gateway
9. mod rewrite or proxy..or both?
10. Fix ide-mod unload crash
11. code alignment - mod 16 vs mod 4
12. Apache1.3.3 + Apache-SSL mod + fp-apache mod
13. How to connect to an FTP through an FTP-Proxy.