Results 1 to 5 of 5

Thread: Https and http pages

  1. #1

    Unhappy Https and http pages

    Hi,
    I am developing an application using Spring MVC. Application is deployed in tomcat and proxied by Apache. I have configured SSL through Apache server. All the pages are working fine with HTTPS request. But I want to keep only some of the pages should be https and other will be http.
    So I need to redirect from http to https and vice versa. In both case my data should not loss. Please help me, how to do this ??


    Thanks in advance.
    Om

  2. #2
    Join Date
    Nov 2005
    Posts
    113

    Default

    Your best bet for this would be to use Spring Security. They make it pretty simple to do channel security switching (from HTTP to HTTPS and vice versa) based on URL patterns.

    If you're not using it yet, it's worth mentioning it slots into a Spring application pretty seamlessly.

    Hope this helps
    - Don

  3. #3

    Smile Example Please

    Thanks for your reply,

    Now I want to secure only login page then how can I switch to https://.../login and back to http://...


    Can you please show me sample or example. really it will help me a lot.



    Thanks,
    Om

  4. #4

    Default Is it possible from APACHE

    Not getting reply on this post...


    Is it possible when user clicks on login url, it must go https request and after login back to http. I have configured SLL on APACHE server. So must be some setting to do such things.


    Thanks in advance,
    Om

  5. #5

    Default

    did you ever get this figured out? I need to do the same thing but can't figure it out....

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •