Apache 2.2.xx

From Gruff Goat Wiki

Jump to: navigation, search


Contents

Install

 > cd /usr/ports/www/apache22
 > make
 > make install clean

Configure

/etc/rc.conf

Add these lines to rc.conf

apache22_enable="YES"
apache22ssl_enable="YES"

/usr/local/etc/apache22/httpd.conf

A few minor edits to make it start

  1. ServerName
  2. Comment out mod_unique_id
  3. ServerAdmin

Start and Stop

 > /usr/local/etc/rc.d/apache22 start
 > /usr/local/etc/rc.d/apache22 stop
Personal tools