Results 1 to 2 of 2
  1. #1

    refining http to https redirects

    Through use of virtual hosts in httpd.conf I set up rewrite conditions to make pages forward to https automatically, however it does so for every page, what do I need to change to make it only for specific pages of my site (like the signup page for example)

    here is a copy of what I added

    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]

    any assistance is appreciated

  2. #2
    Join Date
    Oct 2004
    RewriteEngine On
    RewriteCond %{SERVER_PORT} ^80$
    #RewriteCond %{HTTP_HOST} ^jetway\.org$ [NC]
    RewriteRule ^.*${REQUEST_URI} [R=301,L]

    This will redirect all visitors from to

    As for a single page I believe that you can find information
    right here

    I hope this will help.

Posting Permissions

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