Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-26-2006, 10:16 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
debian apache documentroot

i use rh before ,and i try debian recently

i wanna change the path of documentroot

but i can't found documentroot in apache2.conf

how to change the documentroot in debian?

thanks :>
Old 02-27-2006, 12:49 AM   #2
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
You can add it in apache2.conf for the default domain or better put it in
Old 02-28-2006, 03:18 AM   #3
LQ Newbie
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
i changed the diretory to /test
and got the message when restart apache

Forcing reload of web server: Apache2 ... failed!
You may still have some apache2 processes running. There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone. Please review
the situation by hand.
Syntax error on line 6 of /test/index.html:
Expected </!--> but saw </HEAD>


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Apache DocumentRoot walterbyrd Linux - Software 1 10-18-2005 04:30 PM
Apache DocumentRoot problem elliottsb Linux - Software 6 02-24-2005 10:40 PM
Apache httpd DocumentRoot question orange400 Linux - General 7 05-24-2004 04:41 AM
how to change apache documentroot tr3s Red Hat 6 08-31-2003 11:34 AM
DocumentRoot apache illtbagu Linux - Software 6 02-28-2003 01:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration