SPECS: apache1.spec - move global Alias and ScriptAlias directives...

glen glen at pld-linux.org
Sat Jun 18 15:46:54 CEST 2005


Author: glen                         Date: Sat Jun 18 13:46:54 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move global Alias and ScriptAlias directives to slot 80 (but still load module itself in 02).
  This is to make it possible to have overrides for programs in /cgi-bin dir:
   ScriptAlias /cgi-bin/program1.cgi  /usr/lib/cgi-bin/program1/program1.cgi
   ScriptAlias /cgi-bin/programN.cgi  /usr/lib/cgi-bin/programN.cgi
   ScriptAlias /cgi-bin/programM.cgi  /usr/lib/cgi-bin/program1/program1.cgi
   ScriptAlias /cgi-bin/ /home/services/httpd/cgi-bin

---- Files affected:
SPECS:
   apache1.spec (1.99 -> 1.100) 

---- Diffs:

================================================================
Index: SPECS/apache1.spec
diff -u SPECS/apache1.spec:1.99 SPECS/apache1.spec:1.100
--- SPECS/apache1.spec:1.99	Wed Jun  8 21:24:21 2005
+++ SPECS/apache1.spec	Sat Jun 18 15:46:49 2005
@@ -31,7 +31,7 @@
 Summary(zh_CN):	Internet ÉĎÓŚÓĂ×îšăˇşľÄ Web ˇţÎńłĚĐňĄŁ
 Name:		apache1
 Version:	1.3.33
-Release:	6
+Release:	6.3
 License:	Apache Group
 Group:		Networking/Daemons
 Source0:	http://www.apache.org/dist/httpd/apache_%{version}.tar.gz
@@ -1323,7 +1323,7 @@
 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/conf.d"
 
 echo "LoadModule access_module      modules/mod_access.so" > $CFG/01_mod_access.conf
-install %{SOURCE17}	$CFG/02_mod_alias.conf
+echo "LoadModule alias_module       modules/mod_alias.so" > $CFG/02_mod_alias.conf
 echo "LoadModule asis_module        modules/mod_asis.so" > $CFG/03_mod_asis.conf
 install %{SOURCE21} $CFG/04_mod_cern_meta.conf
 echo "LoadModule cgi_module         modules/mod_cgi.so" > $CFG/05_mod_cgi.conf
@@ -1363,6 +1363,7 @@
 echo "LoadModule mmap_static_module	modules/mod_mmap_static.so" > $CFG/76_mod_mmap_static.conf
 install %{SOURCE13} $CFG/77_mod_info.conf
 install %{SOURCE24}	$CFG/80_errordocs.conf
+install %{SOURCE17}	$CFG/80_mod_alias.conf
 
 install %{SOURCE6} $RPM_BUILD_ROOT/etc/monit
 
@@ -2619,6 +2620,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.100  2005/06/18 13:46:49  glen
+- move global Alias and ScriptAlias directives to slot 80 (but still load module itself in 02).
+  This is to make it possible to have overrides for programs in /cgi-bin dir:
+   ScriptAlias /cgi-bin/program1.cgi  /usr/lib/cgi-bin/program1/program1.cgi
+   ScriptAlias /cgi-bin/programN.cgi  /usr/lib/cgi-bin/programN.cgi
+   ScriptAlias /cgi-bin/programM.cgi  /usr/lib/cgi-bin/program1/program1.cgi
+   ScriptAlias /cgi-bin/ /home/services/httpd/cgi-bin
+
 Revision 1.99  2005/06/08 19:24:21  glen
 - remove (checked) unpackaged files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache1.spec?r1=1.99&r2=1.100&f=u




More information about the pld-cvs-commit mailing list