https://bugzilla.novell.com/show_bug.cgi?id=742618
https://bugzilla.novell.com/show_bug.cgi?id=742618#c0
Summary: jk.conf template contains references to old tomcat5
rather than tomcat6
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Apache
AssignedTo: bnc-team-apache@forge.provo.novell.com
ReportedBy: disccomp@gmail.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML,
like Gecko) Chrome/16.0.912.75 Safari/535.7
While following the instructions in
/usr/share/doc/packages/apache2-mod_jk/README.SUSE
the jk.conf which you are supposed to /etc/apache2/conf.d contains references
to the old tomcat5 paths rather than tomcat6
Reproducible: Always
Steps to Reproduce:
1. cat /usr/share/doc/packages/apache2-mod_jk/jk.conf
2.
3.
Actual Results:
<IfModule mod_jk.c>
JkWorkersFile /etc/tomcat5/base/workers.properties
JkLogFile /var/log/tomcat5/base/mod_jk.log
# Log level to be used by mod_jk
JkLogLevel error
# The following line makes apache aware of the location of
# the /servlets-examples context
Alias /servlets-examples "/srv/www/tomcat5/base/webapps/servlets-examples"
Options Indexes FollowSymLinks
allow from all
</Directory>
# The following line makes apache aware of the location of
# the /jsp-examples context
Alias /jsp-examples "/srv/www/tomcat5/base/webapps/jsp-examples"
Options Indexes FollowSymLinks
allow from all
</Directory>
# The following line mounts all JSP files and the /servlet/ uri to tomcat
JkMount /servlets-examples/servlet/* ajp13
JkMount /jsp-examples/*.jsp ajp13
# The following line prohibits users from directly accessing WEB-INF
AllowOverride None
deny from all
</Location>
AllowOverride None
deny from all
</Location>
</IfModule>
Expected Results:
# simple configuration for apache (for AJP connector, modul mod_jk.so)
<IfModule mod_jk.c>
JkWorkersFile /etc/tomcat6/workers.properties
JkLogFile /var/log/tomcat6/mod_jk.log
# Log level to be used by mod_jk
JkLogLevel error
# The following line makes apache aware of the location of
# the /servlets-examples context
Alias /servlets-examples "/srv/www/tomcat6/base/webapps/servlets-examples"
Options Indexes FollowSymLinks
allow from all
</Directory>
# The following line makes apache aware of the location of
# the /jsp-examples context
Alias /jsp-examples "/srv/www/tomcat6/base/webapps/jsp-examples"
Options Indexes FollowSymLinks
allow from all
</Directory>
# The following line mounts all JSP files and the /servlet/ uri to tomcat
JkMount /servlets-examples/servlet/* ajp13
JkMount /jsp-examples/*.jsp ajp13
# The following line prohibits users from directly accessing WEB-INF
AllowOverride None
deny from all
</Location>
AllowOverride None
deny from all
</Location>
</IfModule>
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.