LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mandrake apache newbie prob (https://www.linuxquestions.org/questions/linux-newbie-8/mandrake-apache-newbie-prob-33454/)

willduffay 10-22-2002 11:37 AM

Mandrake apache newbie prob
 
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?


All times are GMT -5. The time now is 04:35 PM.