Table of contents
[MISSING]- First, I'm going to create links to make Fedora Apache appear more like generic Apache.
- mkdir /usr/local/apache
- cd /var/www
for f in *
do
ln -s /var/www/$f /usr/local/apache/$f
done
- cd /etc/httpd
for f in *
do
ln -s /etc/httpd/$f /usr/local/apache/$f
done
- Now do the reconfiguring
- cd /usr/local/apache/conf
- cp httpd.conf httpd.conf.original
- vi httpd.conf (changes shown below)
ExtendedStatus On
ServerName kevinpc.kleinfelter.com:80
(For the doc root dir) add index.htm to DirectoryIndex.
- Uncomment "Location /server-status" and set allow to "192.168"
- Ditto for server-info
- save and quit vi
- ln -s /usr/sbin/apachectl /usr/bin/apachectl
- apachectl stop
- apachectl start
test http://kevinpc/server-info and server-status.