Ich benutze Apache2.4 als Frontserver und Tomcat8 für meine Webapps mit Mod_JK zum Load Balancing und Weiterleitung aller Anfragen von Apache zu Tomcat8 Instanz .mod_jk "404 Seite nicht gefunden" Fehler beim Zugriff auf root URL, Innere Seiten funktionieren einwandfrei
Beim Zugriff auf www.domain1.com wird der Fehler 404 Seite nicht gefunden angezeigt. Andere Seite funktioniert gut.
www.domain1.com:8080 works
www.domain1.com 404 Page Not Found
www.domain1.com/about-us works
www.domain2.com/contact works
Apache Konfiguration
LoadModule jk_module /usr/local/apache/modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
JkShmFile /var/log/httpd/mod_jk.shm
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize +ForwardURICompatUnparsed -ForwardDirectories
JkRequestLogFormat "%w %V %T"
<VirtualHost xx.xx.xx.xx:80>
ServerName domain1.co.uk
ServerAlias www.domain1.co.uk
JkMount/worker1
JkMount /* worker1
</VirtualHost>
worker.properties Datei
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=domain1.com
worker.worker1.port=8009
ich versucht habe JkAutoAlias und Document Root zeigt auf tomcat Webapps mit Ordner, aber nichts half.
können Sie bitte mod-jk.log posten – Ghayel