I need to redirect a pointer domain to a directory
in a principal domain.

ie: when user seeks www.black.com,
I need the result to produce an index.html
which lives in directory 'black' in the
www.white.com domain.

So far I got the pointer domain to redirect to my
principal domain,
but I can't get it to go into a directory to display
it's own index.html


current script recomended by my ISP is:

"Add the following to the .htaccess file:"

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
# Rewrite Rule for machine.domain-name.net
RewriteCond %{HTTP_HOST} machine.domain-name.net$
RewriteCond %{REQUEST_URI} !machine/
RewriteRule ^(.*)$ machine/$1

This will redirect requests for the machine name
machine.domain-name.net
to the directory machine on the site domain-name.net
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to