Re: [EMAIL PROTECTED] detail for a rewrite

2005-12-11 Thread T F
> > In fact, i'd like to devise a general solution, such that whenever any > > document in the the /o tree is requested, then the url will be rewritten to > > the .net. For example if the user pointed > > http://www.domain.com/o/file.html, then it would be > > rewritten to http://www.domain.net/o

Re: [EMAIL PROTECTED] detail for a rewrite

2005-12-11 Thread Joshua Slive
On 12/11/05, T F <[EMAIL PROTECTED]> wrote: > In my .htaccess file, the following accomplishes this (but there is a > glitch) > > RewriteEngine on > RewriteCond %{HTTP_HOST} ^www\.domain\.net [NC] > RewriteRule ^$ http://www.domain.net/o/index.html [R] > > If the user points to http://w

[EMAIL PROTECTED] detail for a rewrite

2005-12-11 Thread T F
My hosting service has my second domain name aliased to my single account. For example, www.domain.net is aliased to www.domain.com If a user points their browser to www.domain.com, then they are served www.domain.com/index.html If the they point to www.domain.net, then they are served www.domai