ReconfigureApache

From $1

Table of contents
[MISSING]
  1. First, I'm going to create links to make Fedora Apache appear more like generic Apache.
    1. mkdir /usr/local/apache
    2. cd /var/www

for f in *
do
ln -s /var/www/$f /usr/local/apache/$f
done
  1. cd /etc/httpd

for f in *
do
ln -s /etc/httpd/$f /usr/local/apache/$f
done
  1. Now do the reconfiguring
    1. cd /usr/local/apache/conf
    2. cp httpd.conf httpd.conf.original
    3. vi httpd.conf (changes shown below)
      1. ExtendedStatus On

      2. ServerName kevinpc.kleinfelter.com:80

      3. (For the doc root dir) add index.htm to DirectoryIndex.

      4. Uncomment "Location /server-status" and set allow to "192.168"
      5. Ditto for server-info
      6. save and quit vi
    4. ln -s /usr/sbin/apachectl /usr/bin/apachectl
    5. apachectl stop
    6. apachectl start
  2. test http://kevinpc/server-info and server-status.

Tags:
none
 
Images (0)
 
Comments (0)
You must login to post a comment.