HTTPS to HTTP?

Discussion in 'Apache' started by Vebtools, Jun 23, 2010.

  1. #1
    my whole website based on HTTPS, i wanna redirect HTTPS to HTTP, but not the whole web, but few pages,
    please let me know how can i do this?
     
    Vebtools, Jun 23, 2010 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^80$
    RewriteRule ^.*$ http: //%{SERVER_NAME}%{REQUEST_URI} [L,R]

    but that would redirect it completly
     
    Bohra, Jun 24, 2010 IP