Results 1 to 2 of 2
  1. #1

    Apache mod_rewrite Question

    I'd like to have a few scripts on my server operate over my SSL without an a href="https://", and I've figured it out. This seems to work for me in httpd.conf

    RewriteCond %{SCRIPT_FILENAME}          mysecurepage.php
    RewriteRule ^/(.*)            $1 [L,R]
    Now, my problem is getting off the SSL layer for all other scripts on the server. I'm horrible with regex. I'd would appreciate it greatly if some one could help me out. I really do not want to hard-code absolute URLs to get off SSL.


  2. #2
    Ugggghhh, never mind. I totally missed the seperate vhost for the SSL site.

    All I had to do was what I was trying to do, just under the wrong vhost container, exclude the files I want to go over SSL.

    RewriteCond %{SCRIPT_FILENAME}          !mysecurepage.php
    RewriteRule ^/(.*)            $1 [L,R]

Posting Permissions

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