Am 15.06.2010 10:45, schrieb Rene Lehmann:
Hey,
[Tue Jun 15 10:21:44 2010] [error] [client 127.0.0.1] File does not
exist: /var/www/jkstatus
Versuch mal jk-status ;-) und schicke bitte nochmal Deine aktuellen
Configs durch.
Browser sagt (htp://localhost/jk-status):
Not Found
The requested URL /jk-status was not found on this server.
/etc/apache2/mods-enabled/jk.conf:
#LoadModule jk_module modules/mod_jk.so
<IfModule jk_module>
#JkAutoAlias /var/lib/tomcat6/webapps
JkWorkersFile /etc/libapache2-mod-jk/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkShmFile /var/log/apache2/mod_jk.shm
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" \"%{Cookie}i\" \"%{Set-Cookie}o\" %{pid}P %{tid}P
%{JK_LB_FIRST_NAME}n %{JK_LB_LAST_NAME}n ACC %{JK_LB_LAST_ACCESSED}n ERR
%{JK_LB_LAST_ERRORS}n BSY %{JK_LB_LAST_BUSY}n %{JK_LB_LAST_STATE}n %D"
extended_jk
JkWatchdogInterval 60
JkMount /examples/* worker1
<Location /jk-status>
JkMount jkstatus
Order deny,allow
Deny from all
Allow from localhost
Allow from zaphod.fritz.box
Allow from arthur.fritz.box
</Location>
<Location /jk-manager>
JkMount jk-manager
Order deny,allow
Deny from all
Allow from localhost
Allow from zaphod.fritz.box
Allow from arthur.fritz.box
</Location>
<Location /bookmark-struts>
Order deny,allow
Deny from all
Allow from localhost
Allow from zaphod.fritz.box
Allow from arthur.fritz.box
</Location>
JkMountFile /etc/libapache2-mod-jk/uriworkermap.properties
</IfModule>
/etc/libapache2-mod-jk/workers.properties:
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.ping_mode=P
worker.list=jkstatus
worker.jkstatus.type=status
/etc/libapache2-mod-jk/uriworkermap.properties (ist noch alt):
/bookmark-struts/*=balancer
/etc/tomcat6/server.xml:
<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
<Listener className="org.apache.catalina.core.JasperListener" />
<Listener
className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Connector port="8109" protocol="AJP/1.3" redirectPort="8443" />
<Connector port="8209" protocol="AJP/1.3" redirectPort="8443" />
<Engine name="Catalina" defaultHost="localhost" jvmRoute="worker1">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
</Engine>
</Service>
</Server>
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an [email protected]
sonstige Anfragen an [email protected]
--------------------------------------------------------------------------