The following problem with chrome ...:
I have a Grails 1.3.7 application on the server. I noticed that when I request static content (e.g. non-dynamic html files) from Chrome, Chrome creates two JSESSIONID-Cookies. The first is when the login window appears, and the second after a successful login. If I want to refresh the page or request another resource, I must log in again. (I think because Tomcat does not understand these two cookies)
I tried this with FF, but FF just creates one cookie and works fine. In addition, I ran the application locally and it works fine with chrome. So something with tomecat should be wrong.
Enviroment:
- Grails-Application 1.3.7 (with Spring-Security-Core 1.2.4)
- Apache Tomcat 7 (on Windows Server 2008)
My httpd.conf:
ProxyPass /manager http://myUrl:8080/manager
ProxyPass /myGrailsApp http://myUrl:8080/myGrailsApp
ProxyPassReverse /manager http://myUrl:8080/manager
ProxyPassReverse /myGrailsApp http://myUrl:8080/myGrailsApp
ProxyPass / http://myUrl:8080/myGrailsApp/frontend
ProxyPassReverse / http://myUrl:8080/myGrailsApp/frontend
Thanks in advance.
Update 1:
, tomcat.
: Chrome . . , -, JSESSIONID , .
tomcat- - ...
2:
( ):
- localhost/myApp/frontend = > Apache = > FAIL
- localhost: 8080/myApp/frontend = > Tomcat = > OK
, Apache - (?).
:
:)
Grails *.gsp "favicon.ico" .
(, html ) , Grails.
, favicon.ico , :)
Google Chrome, FF IE .