SOURCES: apache-httpd.conf, apache-mod_alias.conf (REMOVED) - move...

glen glen at pld-linux.org
Fri Dec 30 15:06:10 CET 2005


Author: glen                         Date: Fri Dec 30 14:06:10 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- moved /cgi-bin/ ScriptAlias definition to main config, so webapps are able to add their overrides under that path

---- Files affected:
SOURCES:
   apache-httpd.conf (1.45 -> 1.46) , apache-mod_alias.conf (1.3 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: SOURCES/apache-httpd.conf
diff -u SOURCES/apache-httpd.conf:1.45 SOURCES/apache-httpd.conf:1.46
--- SOURCES/apache-httpd.conf:1.45	Wed Dec 21 14:20:11 2005
+++ SOURCES/apache-httpd.conf	Fri Dec 30 15:06:05 2005
@@ -68,3 +68,23 @@
 
 # Include webapps config
 Include webapps.d/*.conf
+
+<IfModule alias_module>
+	# ScriptAlias: This controls which directories contain server scripts.
+	# ScriptAliases are essentially the same as Aliases, except that
+	# documents in the target directory are treated as applications and
+	# run by the server when requested rather than as documents sent to the
+	# client.  The same rules about trailing "/" apply to ScriptAlias
+	# directives as to Alias.
+	#
+	ScriptAlias /cgi-bin/ "/home/services/httpd/cgi-bin/"
+
+	<Directory "/home/services/httpd/cgi-bin">
+		AllowOverride None
+		Options None
+		<IfModule mod_authz_host.c>
+			Order allow,deny
+			Allow from all
+		</IfModule>
+	</Directory>
+</IfModule>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/apache-httpd.conf?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list