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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-19-2003, 01:13 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Rep:
|
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
|
|
|
07-19-2003, 03:08 PM
|
#2
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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.
|
|
|
07-20-2003, 02:29 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|