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:
RewriteE
On Mon, Apr 21, 2008 at 10:47 AM, Hank <[EMAIL PROTECTED]> wrote:
>
> 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 fi
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} ^dom
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
> .
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 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
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
Hey Hank,
What do you mean by "silent redirect"?
Christian
Von: Hank [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 21. April 2008 01:43
An: users@httpd.apache.org
Betreff: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite
Hello All,
Hello All,
I've tried about 100 combinations and searched google over and over, but I
can't find nor figure out how to do this simple task.
I have one webserver with sites at:
/home/user/public_html/ ( http://basedomain.com site points here)
/home/user/public_html/siteA
/home/user/public_html/s