This is an update to an earlier situation, but I'll give the context.
I have Mandrake 8.0, and I have installed apache 1.3.27 and PHP 4.2.3.
My problem is that I have duplicate httpd.conf files and the wrong one (at
) is being accessed . Similarly, the browser (Konqueror (sp?)) is not looking at
for my html and php files, but at a different directory:
. 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
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?
I have Mandrake 8.0, and I have installed apache 1.3.27 and PHP 4.2.3.
My problem is that I have duplicate httpd.conf files and the wrong one (at
Code:
/usr/etc/httpd/conf/
Code:
/usr/local/apache/htdocs
Code:
/usr/home/httpd/html/
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
Code:
/usr/local/apache/conf
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?