# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
#</Location>
-#
-# Proxy Server directives. Uncomment the following lines to
-# enable the proxy server:
-#
-#<IfModule mod_proxy.c>
-#ProxyRequests On
-#
-#<Directory proxy:*>
-# Order deny,allow
-# Deny from all
-# Allow from .your_domain.com
-#</Directory>
-
-#
-# 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
-
-#
-# To enable the cache as well, edit and uncomment the following lines:
-# (no cacheing without CacheRoot)
-#
-CacheRoot "/var/cache/www/apache"
-CacheSize 5
-CacheGcInterval 4
-CacheMaxExpire 24
-CacheLastModifiedFactor 0.1
-CacheDefaultExpire 1
-#NoCache a_domain.com another_domain.edu joes.garage_sale.com
-
-#</IfModule>
-# End of proxy directives.
-
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
--- /dev/null
+# Proxy Server directives. Uncomment the following lines to
+# enable the proxy server:
+#
+#<IfModule mod_proxy.c>
+#ProxyRequests On
+#
+#<Directory proxy:*>
+# Order deny,allow
+# Deny from all
+# Allow from .your_domain.com
+#</Directory>
+
+#
+# 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
+
+#
+# To enable the cache as well, edit and uncomment the following lines:
+# (no cacheing without CacheRoot)
+#
+CacheRoot "/var/cache/www/apache"
+CacheSize 5
+CacheGcInterval 4
+CacheMaxExpire 24
+CacheLastModifiedFactor 0.1
+CacheDefaultExpire 1
+#NoCache a_domain.com another_domain.edu joes.garage_sale.com
+
+#</IfModule>
+# End of proxy directives.
Source7: apache-srm.conf
Source8: apache-virtual-host.conf
Source9: apache-mod_status.conf
+Source10: apache-mod_proxy.conf
Patch0: apache-PLD.patch
Patch1: apache-suexec.patch
Patch2: apache-htdocs.patch
install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/srm.conf
install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/virtual-host.conf
+install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
+install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
+
ln -sf index.html.en $RPM_BUILD_ROOT/home/httpd/html/index.html
strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
%attr(644,root,root) %{_datadir}/manual/mod/mod_info.html
%files mod_proxy
+%config(noreplace) %{_sysconfdir}/mod_proxy.conf
%attr(755,root,root) %{_libexecdir}/libproxy.so
%attr(644,root,root) %{_datadir}/manual/mod/mod_proxy.html
%dir %attr(750,http,http) /var/cache/apache
%attr(644,root,root) %{_datadir}/manual/mod/mod_rewrite.html
%files mod_status
+%config(noreplace) %{_sysconfdir}/mod_status.conf
%attr(755,root,root) %{_libexecdir}/mod_status.so
%attr(644,root,root) %{_datadir}/manual/mod/mod_status.html