diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-10-22 14:46:29 +0200 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-10-22 14:46:29 +0200 |
commit | 5477dfb4209f412f6fd2ab71c19a6ab42a74659f (patch) | |
tree | d5df2a1f91771e83f76dd80153f65110e9576f45 | |
parent | Fix two typos in the last patch... compiles/tests clean... Greg, please (diff) | |
download | apache2-5477dfb4209f412f6fd2ab71c19a6ab42a74659f.tar.xz apache2-5477dfb4209f412f6fd2ab71c19a6ab42a74659f.zip |
Remerge proxy configuration. Tally: of 9 votes;
Majority for segregating mod_ssl
Minority for segregating mod_proxy
Also remove a lingering bit of ldap config from httpd-std.conf
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91631 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | Makefile.win | 15 | ||||
-rw-r--r-- | STATUS | 7 | ||||
-rw-r--r-- | docs/conf/httpd-nw.conf | 38 | ||||
-rw-r--r-- | docs/conf/httpd-std.conf | 43 | ||||
-rw-r--r-- | docs/conf/httpd-win.conf | 39 | ||||
-rw-r--r-- | docs/conf/proxy-std.conf | 35 |
7 files changed, 107 insertions, 72 deletions
diff --git a/Makefile.in b/Makefile.in index d79898ba98..6cb3175409 100644 --- a/Makefile.in +++ b/Makefile.in @@ -34,7 +34,7 @@ install-conf: for i in mime.types magic; do \ $(INSTALL_DATA) $$i $(sysconfdir); \ done; \ - for i in *-std* ldap.conf proxy.conf ssl.conf; do \ + for i in *-std* ssl.conf; do \ [ -f $$i ] || continue; \ ( \ n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \ diff --git a/Makefile.win b/Makefile.win index f5898f5bf3..7fed2f8191 100644 --- a/Makefile.win +++ b/Makefile.win @@ -457,21 +457,6 @@ _install: << if not exist "$(INSTDIR)\conf\ssl.conf" \ copy "$(INSTDIR)\conf\ssl.default.conf" "$(INSTDIR)\conf\ssl.conf" - copy docs\conf\proxy-std.conf "$(INSTDIR)\conf\proxy.default.conf" - -awk -f <<script.awk "docs\conf\proxy-std.conf" "$(INSTDIR)\conf\proxy.default.conf" "$(INSTDIR)" - BEGIN { - srcfl = ARGV[1]; - dstfl = ARGV[2]; - serverroot = ARGV[3]; - gsub( /\\/, "/", serverroot ); - while ( ( getline < srcfl ) > 0 ) { - gsub( /@@ServerRoot@@/, serverroot ); - print $$0 > dstfl; - } - } -<< - if not exist "$(INSTDIR)\conf\proxy.conf" \ - copy "$(INSTDIR)\conf\proxy.default.conf" "$(INSTDIR)\conf\proxy.conf" awk -f <<script.awk "support\dbmmanage.in" >"$(INSTDIR)\bin\dbmmanage.pl" { if ( $$0 ~ /^BEGIN { @AnyDBM_File::/ ) { sub( /ISA = qw\(.*\)/, "ISA = qw(SDBM_File)" ); @@ -1,5 +1,5 @@ APACHE 2.0 STATUS: -*-text-*- -Last modified at [$Date: 2001/10/19 06:11:52 $] +Last modified at [$Date: 2001/10/22 12:46:29 $] Release: @@ -35,11 +35,6 @@ on related projects: RELEASE SHOWSTOPPERS: - * The recent split of proxy.conf and ssl.conf, good or bad? - Split ssl.conf & proxy.conf: +1 OtherBill, Aaron, Ken - Split out ssl.conf only: +1 Ryan, BrianH, Jim - Everything in httpd.conf: +1 Cliff, Justin, Joshua - * If any request gets to the core handler, without a flag that this r->filename was tested by dir/file_walk, we need to 500 at the very end of the ap_process_request_internal() processing. This provides diff --git a/docs/conf/httpd-nw.conf b/docs/conf/httpd-nw.conf index d9f0c75da6..c5724fafcb 100644 --- a/docs/conf/httpd-nw.conf +++ b/docs/conf/httpd-nw.conf @@ -858,15 +858,47 @@ BrowserMatch "JDK/1\.0" force-response-1.0 #</Location> # +# Proxy Server directives. Uncomment the following lines to +# enable the proxy server: +# +#<IfModule mod_proxy.c> +#ProxyRequests On +# +#<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 + +# +# To enable the cache as well, edit and uncomment the following lines: +# (no cacheing without CacheRoot) +# +#CacheRoot "@@ServerRoot@@/proxy" +#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. + +# # Bring in additional module-specific configurations # <IfModule mod_ssl.c> Include conf/ssl.conf </IfModule> -<IfModule mod_proxy.c> - Include conf/proxy.conf -</IfModule> ### Section 3: Virtual Hosts # diff --git a/docs/conf/httpd-std.conf b/docs/conf/httpd-std.conf index 4fbe1981ab..93d7449816 100644 --- a/docs/conf/httpd-std.conf +++ b/docs/conf/httpd-std.conf @@ -926,20 +926,47 @@ BrowserMatch "JDK/1\.0" force-response-1.0 #</Location> # +# Proxy Server directives. Uncomment the following lines to +# enable the proxy server: +# +#<IfModule mod_proxy.c> +#ProxyRequests On +# +#<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 + +# +# To enable the cache as well, edit and uncomment the following lines: +# (no cacheing without CacheRoot) +# +#CacheRoot "@@ServerRoot@@/proxy" +#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. + +# # Bring in additional module-specific configurations # <IfModule mod_ssl.c> Include conf/ssl.conf </IfModule> -<IfModule mod_proxy.c> - Include conf/proxy.conf -</IfModule> - -<IfModule mod_ldap.c> - Include conf/ldap.conf -</IfModule> - ### Section 3: Virtual Hosts # diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index 28ba934923..49bfe76632 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -849,16 +849,47 @@ BrowserMatch "JDK/1\.0" force-response-1.0 #</Location> # +# Proxy Server directives. Uncomment the following lines to +# enable the proxy server: +# +#<IfModule mod_proxy.c> +#ProxyRequests On +# +#<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 + +# +# To enable the cache as well, edit and uncomment the following lines: +# (no cacheing without CacheRoot) +# +#CacheRoot "@@ServerRoot@@/proxy" +#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. + +# # Bring in additional module-specific configurations # <IfModule mod_ssl.c> Include conf/ssl.conf </IfModule> -<IfModule mod_proxy.c> - Include conf/proxy.conf -</IfModule> - ### Section 3: Virtual Hosts # diff --git a/docs/conf/proxy-std.conf b/docs/conf/proxy-std.conf deleted file mode 100644 index 62b56ceb0c..0000000000 --- a/docs/conf/proxy-std.conf +++ /dev/null @@ -1,35 +0,0 @@ -# -# Proxy Server directives. Uncomment the following lines to -# enable the proxy server: -# -#<IfModule mod_proxy.c> -#ProxyRequests On -# -#<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 - -# -# To enable the cache as well, edit and uncomment the following lines: -# (no cacheing without CacheRoot) -# -#CacheRoot "@@ServerRoot@@/proxy" -#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. - |