LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 06-01-2005, 03: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, 08: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, 08:22 PM   #3
elmo40
MEPIS volunteer
 
Registered: May 2005
Location: Brantford, 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, 02: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



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd.conf DocumentRoot marciano Linux - Software 5 10-17-2005 10:02 AM
HTTPD Remote DocumentRoot Cottsay Linux - Software 6 06-26-2005 12:27 AM
DocumentRoot redhatlover Red Hat 3 04-27-2004 01:45 PM
DocumentRoot apache illtbagu Linux - Software 6 02-28-2003 01:04 AM
DocumentRoot error message Thinkgeekness Linux - Software 3 02-18-2003 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration