I cleared the browser cache and it did not work. So when I click on say "login" it takes me to "https://localhost:8443/context name/folder1/folder2/login.do" which is correct. But when I click on "logout" it brings me back to a logout page and that page is "https:// ... ". That is not wanted and from there on clicking on any link will keep the user with "https:// ...". I checked the other rules, they are "RewriteRule ..".
I saw something like this b4 the virtual host entry:
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
There are some of these but I don't they are causing any problem:
RewriteCond %{QUERY_STRING} trk_src_ss=([0-9a-zA-z]+)|([^/]+)
RewriteRule ^/$ /home.do?promoCode=%1 [R=301,L,NE]
RewriteCond %{QUERY_STRING} T1=([^/]+)trk_src_ss=([0-9a-zA-z]+)|([^/]+)
RewriteRule ^/example.asp /detail/%1promoCode=%2? [R=301,L,NE]
Then there are these right at the end:
RewriteCond %{request_uri} !^/contextName.*?
RewriteCond %{request_uri} !^/$
RewriteRule ^(.+?)$ [
localhost:8080...] [NE,P,L]
RewriteCond %{request_uri} ^/$
RewriteRule ^/$ [
localhost:8080...] [NE,P,L]
I am an absolute novice at this. Thanks for all the help.