LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2006, 09:16 PM   #1
see
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-26-2006, 11:49 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
You can add it in apache2.conf for the default domain or better put it in
/etc/apache2/sites-enabled/000-default
file
 
Old 02-28-2006, 02:18 AM   #3
see
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>
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 07:58 PM.

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