[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Changing document root
- Subject: Re: [cobalt-developers] Changing document root
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed Mar 13 01:32:10 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> I have changed the document root for a virtual server on my RaQ4 by editing
> httpd.conf so that by going to http://www.domain.com/ the visitor actually
> goes to http://www.domain.com/directory1 (i.e.
> /home/sites/www.domain.com/web/directory1 )
>
> That bit was easy. However, I want to complicate things slightly by having a
> second directory at the same level as directory1 (i.e.
> /home/sites/www.domain.com/web/directory2 ) that is accessible as
> http://www.domain.com/directory2 even though I have changed the document
> root of the site to be in directory1.
Then you'll have to put directory2 into the new document root. eg.
/home/sites/www.domain.com/web/directory1/directory2
HTH,
j