LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-19-2003, 01:13 PM   #1
1111
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Apache conf files


Hi all, my first post on this great site!!

Well, i'm just installed Mandrake 9.1 to use as test server.

I use webmin and some terminal commands..... just have a question regarding http2.conf

iŽm looking at my /etc/httpd/conf directory and i'm lost here...

I've a file called httpd.conf and another file called httpd2.conf... also some virtual host configuration its located on the file Vhosts.conf inside my /etc/httpd/conf/vhost directory

My question... aparently webmin wants to use httpd.conf, but i notice that apache its using httpd2.conf and Vhost.conf in place of the httpd.conf

So why 2 httpd confs?... Which one should i use?... and how can i disable the one iŽll not use?

Sorry for my question if its kind of confussing, but i'm confused as well... the previous experience with server config was on Mandrake 8.2 which i just made my config one time and was only with httpd.conf (never before httpd2.conf)

Thanks in advance to help me understand it better this.

BTW, when i restart apache, this is what i receive:

Terminando httpd-perl: [ OK ]
Shutting down httpd2: [ OK ]
Iniciando httpd-perl: [ OK ]
Starting httpd2: [ OK ]

as you notice, it says httpd2.conf and not httpd.conf
 
Old 07-19-2003, 03:08 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Lightbulb Apache 1.3 and Apache 2.0

Mandrake 9.1 comes with both Apache 1.3 and Apache 2.0

When you restart Apache, it says Starting httpd2, that means Apache 2.0 is installed.
You can confirm this by typing rpm -qa | grep apache at the command line, this will give you a list of all Apache RPMs on your system.

In Apache 2.0, Virtual Hosts are now stored in Vhost.conf.

As for webmin, it is possible that it does not yet recognize the Apache 2.0 setup.
 
Old 07-20-2003, 02:29 PM   #3
1111
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for your answer Mathieu

I'll try to figure out a way to see if webmin can work with Apache 2... iŽll try to read something first about it on this great forums
 
  


Reply



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 httpd.conf ilnli Linux - Software 9 01-11-2005 06:58 AM
SUSE 9.1: named.conf works, but including separate conf files doesn't??? registering Linux - Distributions 0 06-09-2004 04:03 PM
Apache conf bumfan Linux - General 3 04-29-2004 05:40 PM
Apache 2.0 so many .conf files! lonny Linux - Software 1 12-09-2003 01:15 AM
Bind and DNS information conf files and zone files aaronluke Linux - General 1 10-13-2002 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:54 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