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