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

Re: [cobalt-developers] Changing document root



> 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