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 05-20-2004, 11:43 PM   #1
LQ Newbie
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Apache config files

I just installed Mandrake 10 with apache, MySQL and PHP.

I'm going to run a fairly simple dynamic site with some databasing.

I'm trying to configure apache, but all the info I find on the net talks about the httpd.conf file. When i look in the /etc/httpd/conf which is where mandrake installs the apache config files by default as far as I can see, I only see httpd2.conf and commonhttpd.conf

Can someone clear up exactly what I need to change in these files in order to specify what folder I want my website to by located, and anything else I need to configure to get apache up and running.

I've forwarded port 80 to my linux box. I'm just not sure what else to do now. (ie configure apache files)

I know this is a pretty broad question, but any answers are greatly appreciated
Old 05-21-2004, 01:39 AM   #2
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
you probably want to stick to editing commonhttpd.conf, 'DocumentRoot' is where your website will be located. I think that is set in httpd2.conf. read up on apache's website, there are some great docs there.
Old 05-21-2004, 11:53 AM   #3
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
/etc/httpd2.conf will probably be the config file for apache2. so if u run apache2.x.x this is the file u have to edit. did u install more than 1 version of apache on the box? once started apache u should find the detailed documentation at http://localhost/manual


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
apache config files and php waynejkruse10 Linux - Software 8 12-05-2006 10:40 PM
Apache 2 Config Files waynejkruse10 Linux - Software 5 05-24-2005 03:20 PM
Apache config files in Debian King4lex Linux - Newbie 1 09-02-2004 04:04 PM
apache config files deleted!!! HELP! tris Linux - Software 2 10-11-2003 07:09 PM
Apache Config Files mikeyt_333 Linux - General 1 01-18-2002 04:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:34 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
Open Source Consulting | Domain Registration