Don't delete /var/www/html from DocumentRoot, let it remain; also ADD the
new folder as DocumentRoot.

Also take a look at http://httpd.apache.org/docs/mod/core.html#documentroot
and 
http://httpd.apache.org/docs-2.0/mod/mod_alias.html

-js


$ -----Original Message-----
$ From: [EMAIL PROTECTED] 
$ [mailto:[EMAIL PROTECTED]
$ g] On Behalf Of Mani
$ Sent: Wednesday, September 24, 2003 1:14 PM
$ To: The Linux-Delhi mailing list
$ Subject: Re: [ilugd] Apache 1.3x on pCQ 7.1
$ 
$ 
$ but I want to keep /var/www/html as dcoument root, and still 
$ access the intranet directory as http://webservername/intranet
$ 
$ Do I have to create a virtual host? or should I create a Sym 
$ link to /usr/intranet in the /var/www/html directory
$ ----- Original Message -----
$ From: "Jasmeet S. Virdi" <[EMAIL PROTECTED]>
$ To: "'The Linux-Delhi mailing list'" <[EMAIL PROTECTED]>
$ Sent: Wednesday, September 24, 2003 12:20 PM
$ Subject: RE: [ilugd] Apache 1.3x on pCQ 7.1
$ 
$ 
$ > Add /usr/intranet to DocumentRoot, apache looks for alias folders 
$ > under DocumentRoot
$ >
$ >
$ > -js
$ > $ Alias /intranet/ "/usr/intranet/"
$ > $ <Directory "/usr/intranet">
$ > $         Options Indexes FollowSymlinks MultiViews
$ > $         AllowOverride None
$ > $         Order allow,deny
$ > $         Allow from all
$ > $ </Directory>
$ > $
$ >
$ >
$ > _______________________________________________
$ > ilugd mailing list
$ > [EMAIL PROTECTED] 
$ > http://frodo.hserus.net/mailman/listinfo/ilugd
$ >
$ 
$ 
$ _______________________________________________
$ ilugd mailing list
$ [EMAIL PROTECTED] 
$ http://frodo.hserus.net/mailman/listinfo/ilugd
$ 


_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to