Apache serving from unexpected DocumentRoot location
Using Slackware 9.0 and Latest Apache Versions.
I installed Apache in /usr/local/apache Changed DocumentRoot in /usr/local/apache/conf/httpd.conf to /mnt/drive_d/htdocs ( which is a FAT drive ) and of course, restarted. However, i've found that Apache is actually serving the localhost index.html from /var/www/htdocs and not from /mnt/drive_d/htdocs as i expected. Am confusted as to why is this happening? :confused: |
Are you using virtualhosts ?
|
No I'm not using Virtual hosts. Its a very vanilla installation
What I don't understand is why are there two 'apachectl' files? One is in /usr/sbin and another is in /usr/local/apache/bin. I don't think Apache was included in the slackware 9.0 release, which i downloaded from the single CD ISO Image from slackware. Could I have two different apache installations? Any way to tell if the apache in /usr/local/apache is the one that is actually running or another installation?? Of course, /usr/sbin is in my path, so when I login as root from the root directoty and run apachectl start, it is probably running the /usr/sbin. Where would this version keep its httpd.conf file? :cry: |
All times are GMT -5. The time now is 06:32 AM. |