Hello community,

here is the log from the commit of package apache2-mod_jk for 
openSUSE:Leap:15.2 checked in at 2020-06-02 22:26:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/apache2-mod_jk (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.apache2-mod_jk.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache2-mod_jk"

Tue Jun  2 22:26:21 2020 rev:15 rq:810685 version:1.2.43

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/apache2-mod_jk/apache2-mod_jk.changes  
2020-01-15 14:47:07.977284295 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.apache2-mod_jk.new.3606/apache2-mod_jk.changes    
    2020-06-02 22:26:22.683045473 +0200
@@ -1,0 +2,12 @@
+Mon May 18 08:29:01 UTC 2020 - Pedro Monreal Gonzalez 
<[email protected]>
+
+- Update jk.conf: [bsc#1167896]
+  * Specify the location of JkShmFile.
+  * Update tomcat-webapps paths.
+
+-------------------------------------------------------------------
+Mon May 11 16:22:00 UTC 2020 - Pedro Monreal Gonzalez 
<[email protected]>
+
+- Fix Aliases to be compatible with the tomcat example URLs [bsc#1167896]
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ jk.conf ++++++
--- /var/tmp/diff_new_pack.munHcJ/_old  2020-06-02 22:26:23.371047626 +0200
+++ /var/tmp/diff_new_pack.munHcJ/_new  2020-06-02 22:26:23.375047639 +0200
@@ -4,14 +4,21 @@
 
     JkWorkersFile /etc/tomcat/workers.properties
     JkLogFile /var/log/tomcat/mod_jk.log
+    JkShmFile /var/log/tomcat/jk-runtime-status
 
     # Log level to be used by mod_jk
     JkLogLevel error
+    # JkLogLevel debug
 
     # The following line makes apache aware of the location of
-    # the /servlets-examples context
-    Alias /servlets-examples "/srv/tomcat/webapps/examples/servlets"
-    <Directory "/srv/tomcat/webapps/examples/servlets">
+    # the /examples/servlets context
+    #
+    # WARNING! Contrary to the normal freedom in the choice of apache2 Aliases
+    # it is mandatory here that the Alias is formed from the exact
+    # tomcat path with the tomcat DocumentRoot prefix stripped!
+    #
+    Alias /examples/servlets 
"/usr/share/tomcat/tomcat-webapps/examples/servlets"
+    <Directory "/usr/share/tomcat/tomcat-webapps/examples/servlets">
        Options Indexes FollowSymLinks
        <IfModule !mod_access_compat.c>
             Require all granted
@@ -23,9 +30,9 @@
 
 
     # The following line makes apache aware of the location of
-    # the /jsp-examples context
-    Alias /jsp-examples "/srv/tomcat/webapps/examples/jsp"
-    <Directory "/srv/tomcat/webapps/examples/jsp">
+    # the /examples/jsp context
+    Alias /examples/jsp "/usr/share/tomcat/tomcat-webapps/examples/jsp"
+    <Directory "/usr/share/tomcat/tomcat-webapps/examples/jsp">
        Options Indexes FollowSymLinks
        <IfModule !mod_access_compat.c>
             Require all granted
@@ -36,12 +43,11 @@
     </Directory>
 
     # The following line mounts all JSP files and the /servlet/ uri to tomcat
-    JkMount /servlets-examples/servlet/* ajp13
-    JkMount /jsp-examples/*.jsp ajp13
+    JkMount /examples/servlets/servlet/* ajp13
+    JkMount /examples/jsp/*.jsp ajp13
 
     # The following line prohibits users from directly accessing WEB-INF
-    <Location "/jsp-examples/WEB-INF/">
-       AllowOverride None
+    <Location "/examples/jsp/WEB-INF/">
        <IfModule !mod_access_compat.c>
             Require all denied
        </IfModule>
@@ -49,8 +55,7 @@
            deny from all
        </IfModule>
     </Location>
-    <Location "/servlets-examples/WEB-INF/">
-       AllowOverride None
+    <Location "/examples/servlets/WEB-INF/">
        <IfModule !mod_access_compat.c>
             Require all denied
        </IfModule>



Reply via email to