previous | start | next

http.conf

httpd.conf Make a backup copy of the original httpd.conf file and then edit the httpd.conf file. Substitute your favorite text editor for "emacs" below (such as pico).
ice%  cp httpd.conf httpd.conf.original
ice%  emacs httpd.conf

What has changed?

ice%  diff httpd.conf httpd.conf.original
306c306
< Port 8080
---
> Port 80
320,321c320,321
< User jharvard
< Group student
---
> User nobody
> Group nobody
328c328
< ServerAdmin jharvard@fas.harvard.edu
---
> ServerAdmin you@your.address
831,836c831,836
< <Location /server-status>
<     SetHandler server-status
<     Order deny,allow
<     Deny from all
<     Allow from fas.harvard.edu
< </Location>
---
> #<Location /server-status>
> #    SetHandler server-status
> #    Order deny,allow
> #    Deny from all
> #    Allow from .your_domain.com
> #</Location>
843,848c843,848
< <Location /server-info>
<     SetHandler server-info
<     Order deny,allow
<     Deny from all
<     Allow from fas.harvard.edu
< </Location>
---
> #<Location /server-info>
> #    SetHandler server-info
> #    Order deny,allow
> #    Deny from all
> #    Allow from .your_domain.com
> #</Location>



previous | start | next