Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 11:09:07 -0500
From:      "Walt Brodnie" <walterBr@sympatico.ca>
To:        <freebsd-questions@FreeBSD.org>
Subject:   subdomain masking and forwarding
Message-ID:  <000101c40915$838a5220$778ffea9@CREATOR>

next in thread | raw e-mail | index | archive | help
Hello, the way I came to you is through the HYPERLINK
"http://forums.devshed.com/t13363/s.html"http://forums.devshed.com/t1336
3/s.html where I found a note on subdomain/domain masking and forwarding
posted by a Senior Member 
under the name "freebsd"...
 
I sent my question to him through the webmaster but didn't hear from
him... and subsequent search of the internet led me to your the FreeBSD
Project website HYPERLINK
"http://www.freebsd.org/"http://www.freebsd.org/
 
I don't know if there is any connection but maybe you can help me with
this problem...
 
"freebsd" advise at the forum as follows...
 
to mask and forward "domain" to "subdomain"... 
-------------------------------------------------------------
If they are on the same server: 
(This is so-called internal redirect)
 
RewriteEngine on
RewriteRule ^/icons/(.+) - [PT,L]
RewriteRule ^/(.*) /system/path/to/docroot/of/subdomain/domain.com/$1
 
If subdomain is on another server:
 
RewriteEngine on
RewriteRule ^/icons/(.+) - [PT,L]
RewriteRule ^/(.*) HYPERLINK
"http://subdomain.domain.com/$1"http://subdomain.domain.com/$1 [P,L]
-------------------------------------------------------------
***and I need a reversal... on the same server...
 
mask and forward... 
"sub1.domain.com" to "sub1.domain.com/sub1.htm"
 
-could you please show me how the above code should be re-written...
 
and...
 
-will this make the search engines and visitors coming through the
"sub1" see all the "domain" HTML pages in the address bar... as...
 
sub1.domain.com => sub1.domain.com/sub1.htm =>
sub1.domain.com/anypage.htm
 
Please help... Thanks! -Walt
 

"en telios echen"

 -- 
Regards, HYPERLINK
"mailto:walterB.canterra@sympatico.ca"walterB.canterra@sympatico.ca
Walt Brodnie        Canterra Group Inc
1646 DundasStW, Mississauga,ON,L5C 1E6
tel: 905-803-0922    fax: 905-803-9823

=======================================================================

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. Unauthorized distribution, reproduction or disclosure is
strictly prohibited. If you have received this email in error please
notify the sender.

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.615 / Virus Database: 394 - Release Date: 3/8/2004
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101c40915$838a5220$778ffea9>