Apache - Tomcat forwarding does not work with a scout application [message #1773150] |
Fri, 22 September 2017 09:54 |
|
Hello everybody,
I have a problem with the Apache setting for a scout application.
* I have an application installed on the Tomcat and is now under [<IP address> /org.eclipse.scout.ui.html/].
* Now I want a redirect from [app.myAdresse.eu] to [<IP address> /org.eclipse.scout.ui.html/].
I set this with a new Virtualhost on Apache:
<Virtualhost *:80>
JkMount /* ajp13_worker
ServerName app.myAdresse.eu
#DocumentRoot /opt/tomcat/webapps
DocumentRoot /opt/tomcat/webapps
ErrorLog /opt/tomcat/logs/error.log
CustomLog /opt/tomcat/logs/access.log common
<Directory /opt/tomcat/webapps>
Options -Indexes
</Directory>
RewriteEngine On
RewriteRule ^/(.*) /org.eclipse.scout.ui.html/$1 [PT]
</Virtualhost>
When I restart the Apache and Tomcat, I come to the login mask of the Scout framework. But the registration itself does not work!
However, logging in via the IP address [<IP address> /org.eclipse.scout.ui.html/] works without problems.
Is this on the Apache, the Tomcat or do I have something in the Scout application set?
Unfortunately I have no more idea.
|
|
|
|
Re: Apache - Tomcat forwarding does not work with a scout application [message #1773887 is a reply to message #1773226] |
Fri, 06 October 2017 06:29 |
|
Hy Paolo,
If I want to start the application via the "Virtualhost", the registration mask comes, but you can not log on. There is also no error message. No entries are made in the error logs. Nothing!
If I try to log on with deliberately wrong data, a proper error message comes.
I believe it is due to the proxy-foo (JkMount /* ajp13_worker or RewriteRule).
Thanks for help
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03568 seconds