+LoadModule proxy_module lib/apache/mod_proxy.so
+LoadModule proxy_connect_module lib/apache/mod_proxy_connect.so
+LoadModule proxy_ftp_module lib/apache/mod_proxy_ftp.so
+LoadModule proxy_http_module lib/apache/mod_proxy_http.so
+
+#
# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#
-#<IfModule mod_proxy.c>
-#ProxyRequests On
+<IfModule mod_proxy.c>
+ProxyRequests On
#
-#<Directory proxy:*>
-# Order deny,allow
-# Deny from all
-# Allow from .your_domain.com
-#</Directory>
+#<Proxy *>
+# Order deny,allow
+# Deny from all
+# Allow from .your-domain.com
+#</Proxy>
#
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#
-#ProxyVia On
+ProxyVia On
#
# To enable the cache as well, edit and uncomment the following lines:
# (no cacheing without CacheRoot)
#
-CacheRoot "/var/cache/www/apache"
+CacheRoot "/var/cache/apache"
CacheSize 5
CacheGcInterval 4
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1
-#NoCache a_domain.com another_domain.edu joes.garage_sale.com
+#NoCache a-domain.com another-domain.edu joes.garage-sale.com
-#</IfModule>
+</IfModule>
# End of proxy directives.
+
# HTML files and CGI.
# processname: httpd
# pidfile: /var/run/httpd.pid
-# config: /etc/httpd/httpd.conf
+# config: /etc/httpd/conf/access.conf
+# config: /etc/httpd/conf/httpd.conf
+# config: /etc/httpd/conf/srm.conf
# Source function library
exit 1
fi
-if is_no "${IPV6_NETWORKING}"; then
- HTTPD_OPTS="$HTTPD_OPTS -4"
-fi
-
# See how we were called.
case "$1" in
start)
/usr/sbin/httpd -S
exit $?
;;
- restart|reload)
+ restart)
$0 stop
$0 start
;;
+ reload)
+ msg_reloading httpd
+ killproc httpd -HUP
+ RETVAL=$?
+ ;;
*)
- msg_usage "$0 {start|stop|restart|status}"
+ msg_usage "$0 {start|stop|restart|reload|status}"
exit 1
;;
esac