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.
I have Mandrake 8.0, and I have installed apache 1.3.27 and PHP 4.2.3.
My problem is essentially that I have duplicate httpd.conf files and the wrong one is being accessed (at /usr/etc/httpd/conf/). Similarly, the browser (Konqueror (sp?)) isn't looking at /usr/local/apache/htdocs for my html and php files, but at a different directory: /usr/home/httpd/html/. The 'right' httpd.conf file contains the correct path for files.
I have only one installation of apache (although Software Manager tells me that none is installed - should that worry me, or is it just because I didn't use RPM to install it?) and I did that after installing Mandrake. When I did the latter I didn't install apache as I knew I could get a later version. When I point my browser at localhost I get the welcome page for Advanced Extranet, not the normal apache page. This page is in the 'wrong' html directory, as I've mentioned. I've not been able to find any files for Extranet, or advx, on the machine, other than the welcome page. I'm not sure whether in my case it was bundled with apache and somehow didn't install properly, or whether it came with Mandrake or KDE. I can find very little information about it, other than that it might not be PHP4 compatible. In any case, I didn't ask for it and I don't really want it - I'm quite happy to make do with 'normal' apache!
My PHP installation went okay, eventually, and I checked httpd.conf in /usr/local/apache/conf for the AddType and all that stuff. The right bits were there and I added the bits that needed to be added. So the PHP installation had assumed that that httpd.conf was the one to use, not the 'rogue' one elsewhere.
So: I could just get on with it and use the httpd.conf and the html directory that the system wants me to use, but that doesn't seem correct and I would like to use what would seem to be the proper set-up. How can I do this?