Copyright 2005 Stichting Wireless Leiden Rick van der Zwet How-to install a apache http (ftp connect) proxy under FreeBSD 5.3 ###### NOTE ###### If you want more then a http proxy, remember to alter the make command (and httpd.conf) to fit to your needs. Availible options proxy_ftp proxy_http proxy_connect Example: if you want ftp and http proxy you make command looks like make WITH_MODULES="proxy_http proxy_ftp access" install ################# It's quite easy: -cd /usr/ports/www/apache -make WITH_MODULES="proxy_http access" install #if you want more look at the note -cd /usr/local/etc/apache2 -fetch http://wleiden.webweaving.org:8080/svn/node-config/other/proxy/apache/httpd.conf -Alter httpd.conf to match your specific config echo 'apache2_enable="YES"' >> /etc/rc.conf /usr/local/etc/rc.d/apache2.sh start Add to /etc/newsyslog.conf: /var/log/httpd-access.log 600 1 100 * J /var/run/httpd.pid /var/log/httpd-error.log 600 1 100 * J /var/run/httpd.pid and check/confirm with newsyslog -nv newsyslog -C Some notes: -If you are running your server behind a firewall, make sure to generate rules to allow the traffic -To speed up your proxy make sure you are running a caching nameserver All Done,enjoy ;-)