Apache 2.0.xx

From Gruff Goat Wiki
Jump to: navigation, search

Port is already installed and operational.

Create a Virtual Site

Apache Configuration Settings

Apache Logging


  • Start, stop, reload, etc
 /usr/local/etc/rc.d/apache2.sh (start stop restart rcvar reload status poll)
  • Check sytax of configs
 /usr/local/sbin/httpd -t
  • Check version
 /usr/local/sbin/httpd -v
  • List modules compiled into server
 /usr/local/sbin/httpd -l
  • Print version and build parameters
 /usr/local/sbin/httpd -V
  • Show virtual host settings
 /usr/local/sbin/httpd -S
  • Show httpd running processes
 ps -aux |grep httpd