Thursday, July 14, 2011

Setup Apache2.x in FreeBSD

Apache 2.2 can be installed from the ports with the following commands


# cd /usr/ports/www/apache22


# make install


You will need to add an enable line for Apache to your /etc/rc.conf file


apache22_enable="YES"


Apache installs a start up script in /usr/local/etc/rc.d, but to stop and start the port the apachectl command is used which we will be looking at later when it is time to start the server.


1. Configuring Apache's httpd.conf


2. Loading the accf_http module


3. Starting Apache


4. Adding Virtual Hosts


5. Accessing Virtual Hosting without the Hostname


Read more http://blogmee.info/index.php/setup-apache2-x-in-freebsd/

No comments:

Post a Comment