[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: [cobalt-users] Viewing a site before propagation [was: (no subject)]



On Sat, 8 Sep 2001, Richard Kurth wrote:

> Saturday, September 08, 2001, 5:32:19 PM, you wrote:
> 
> Jeff Lasman> Steve Werby wrote:
> 
> >> One solution...
> Jeff Lasman> Easiest way

EGADS! what is your client doing for quoting? who is it replying to ?
This is the most confusing quoting method i have seen ;)

> Insert this line in your httpd.conf (mainsite)
> 
> AliasMatch ^/newsite/([^/]+)(/(.*))? /home/sites/$1/web/$3

hmm, Jeff's method is actually simpler, and your rewrite has the same
limitations, cgi's that self refer will have a bogus server path ;0

Also, pointing one site into another sites directory causes interesting
permissions problems after you run out of admin users with shared
privileges anyhow....sigh

 > 
> Then restart Apache - after that, you can access it with:
> www.originaldomain.com/newsite/www.newdomain.com

for all that work, you could as easily just make a directory, which is all
i bother doing these days, since everything lives on the same partition on
the raq's it's trivial to mv the entire site to it's new home later...

ps: What happens if you access
www.originaldomain.com/newsite/admin/users/mail/inbox ? tsk tsk

> Then it is done automatically when ever you set up a new named based
> site

Be real carefull with alias ;)

gsh