LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-01-2005, 02:42 PM   #1
tfc
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Rep: Reputation: 15
Question Where is DocumentRoot?


Hello!
I'm trying to setup Mepis as a webserver, but I can't find the DocumentRoot variable in apache's configuration files (/etc/apache2).

Can somebody please tell me how to change the default document directory for Apache2?
 
Old 06-01-2005, 07:02 PM   #2
maracas
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
If you're looking for what I think you are, I just found it in 000-default in the sites-enabled directory of Apache2.
 
Old 06-01-2005, 07:22 PM   #3
elmo40
MEPIS volunteer
 
Registered: May 2005
Location: Oshawa, Ontario, Canada
Distribution: Elive, MEPIS
Posts: 24

Rep: Reputation: 15
when you type localhost in firefox, that page you see is from /var/www/apache2...(file name which i have forgoten since i replaced it with my own )

Other then that, you will find all your files in /etc/apache2/
 
Old 06-02-2005, 01:41 AM   #4
tfc
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
If you're looking for what I think you are, I just found it in 000-default in the sites-enabled directory of Apache2.
Yes, that's the one. Thanks!

I don't understand why they need to put the configuration in several files. It was easier when everything was in httpd.conf
 
  


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
httpd.conf DocumentRoot marciano Linux - Software 5 10-17-2005 09:02 AM
HTTPD Remote DocumentRoot Cottsay Linux - Software 6 06-25-2005 11:27 PM
DocumentRoot redhatlover Red Hat 3 04-27-2004 12:45 PM
DocumentRoot apache illtbagu Linux - Software 6 02-28-2003 12:04 AM
DocumentRoot error message Thinkgeekness Linux - Software 3 02-18-2003 08:59 PM


All times are GMT -5. The time now is 03:33 AM.

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