I have developed a login authentication page using cookies (with spring security) where for the first time, the user will need to get itself authenticated. Once the user gets successfully authenticated, then on each subsequent request from the same browser, the user will redirected to the success page. The code is working fine on
localhost:8080
but the problem is I have configured Apache HTTP server and when I hit the request through the Apache server to the application, then I think the cookies are not been read by the Apache server.
I have enabled the cookies in httpd.conf file (but it is not working) as well by
LoadModule usertrack_module modules/mod_usertrack.so
and
<VirtualHost *>
ServerName localhost
CookieTracking on
ProxyPass / http://localhost:8080/stackoverflow/
</VirtualHost>
Please let me know what am I doing wrong
