Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-22 Thread Hank
I solved the problem. I have in the .htaccess file in the root directory (../public_html/) RewriteEngine On RewriteCond %{HTTP_HOST} ^domainA.comt$ RewriteRule ^(.*)$ /home/user/public_html/siteA/$1 but then in the /siteA subdirectory, I now have another .htaccess file with only:

RE: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Boyle Owen
From: Hank [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 1:43 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite Hello All, I've

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Krist van Besien
On Mon, Apr 21, 2008 at 1:42 AM, Hank [EMAIL PROTECTED] wrote: I have found several ways to non-silently redirect http://domainA.com to http://basedomain/siteA, but that's not good enough. It needs to be a silent re-direct. As someone else allready pointed out: There is no such thing as a

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Hank
n Mon, Apr 21, 2008 at 3:04 AM, Boyle Owen [EMAIL PROTECTED] wrote: -- understand you correctly, you have registered domainA and domainB and the domain names point to your server's IP in DNS. You want to map domainA to ../siteA and domainB to ../siteB. You

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 10:04 AM, Hank [EMAIL PROTECTED] wrote: n Mon, Apr 21, 2008 at 3:04 AM, Boyle Owen [EMAIL PROTECTED] wrote: understand you correctly, you have registered domainA and domainB and the domain names point to your server's IP in DNS. You want to map domainA to ../siteA

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Hank
If the content is living on the same server as domainA.com (which it apparently is in this case), then you don't want to proxy. There is no need to create an additional HTTP request. You just instruct apache to grab the file directly. So you want something like RewriteCond %{HTTP_HOST}