You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sri <gs...@yahoo.com> on 2005/10/03 17:05:29 UTC
[users@httpd] changing default document root directory
Hi,
I am using apache2 presently default document root directory is /var/www/.If i want to change this to /home/www/.How do i do this and where i can change.Present apache2.conf file is not showing the default root directory .
Thanks for your help
Best Regards
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
Re: [users@httpd] changing default document root directory
Posted by Rit Jhaveri <ri...@gmail.com>.
Hi, Sri
try inserting the below line in ur conf file
DocumentRoot "/home/www"
Regards
Ritesh Jhaveri
On 10/3/05, Nick Couchman <Ni...@seakr.com> wrote:
>
>
>
Re: [users@httpd] changing default document root directory
Posted by Nick Couchman <Ni...@seakr.com>.
First of all, if you're using Apache bundled with some software distribution, make sure that they don't use more than one configuration file. Look for "Include" directives in the apache2.conf file and other Apache configuration files in the configuration directory. The DocumentRoot directive may be located in one of those. Also, if the server is set up to use VHosts, there may be a directory dedicated to VHost configurations.
Nick Couchman
Systems Integrator
SEAKR Engineering, Inc.
6221 South Racine Circle
Centennial, CO 80111
Main: (303) 790-8499
Fax: (303) 790-8720
Web: http://www.seakr.com
Nick Couchman
Systems Integrator
SEAKR Engineering, Inc.
6221 South Racine Circle
Centennial, CO 80111
Main: (303) 790-8499
Fax: (303) 790-8720
Web: http://www.seakr.com
>>> gsridhar78@yahoo.com 2005/10/03 09:05 >>>
Hi,
I am using apache2 presently default document root directory is /var/www/.If i want to change this to /home/www/.How do i do this and where i can change.Present apache2.conf file is not showing the default root directory .
Thanks for your help
Best Regards
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.