Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This is where the conf file along with some threads I've read told me to change this. However, it still reads files from my var/www/html directory. I've done a search on the httpd.conf file and there is no longer a reference to the old location. I've restarted apache, but can't get this figured out.
I'm a newbie to Linux, (I've played around with Ubuntu before, but now work has me using Red Hat Server 5 (without the support package btw)).
Progress. I managed to stumble across another httpd.conf file, perhaps one that our network admin already set up on the box. It looks like everything is loading from this file. So I'm going to make the changes necessary to that file. Anyone have any suggestions on how to clean this up so that I only have ONE apache2 installation?
Has a "warning" about modifying apache conf files by hand:
If using the graphical HTTP Configuration Tool (system-config-httpd ), do not hand edit the Apache HTTP Server's configuration file as the HTTP Configuration Tool regenerates this file whenever it is used.
That's the typical way of doing it. I wouldn't go as far as saying the "correct" way, but with most distributions you'll see the configuration files in /etc for system services. In this case, /etc/httpd/conf is the typical option.
You might not want to delete them. My guess is they are the source files, and when you update apache they will be replaced anyway. The confusion will wither as you learn and understand how it works. As you deal with other services as well it will help you become more accustomed to the /etc configuration files. If you really want to delete them, I would suggest moving them first. Move them to a temp location, maybe /tmp even and then wait a few days to make sure everything continues working as expected.
Check apache and see if uses other files in that location. You can probably safely remove the conf file, but I wouldn't recommend removing the entire directory and it's contents.
Last edited by MasterC; 01-02-2009 at 11:30 AM.
Reason: Apache location