Jump to content

STAINLESS

Members
  • Posts

    3
  • Joined

  • Last visited

  • Speed Test

    My Results

Posts posted by STAINLESS

  1. I'm not sure about the port thing either , but Shouldn't this .........

    RewriteCond %{SERVER_PORT} ^443$  RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
    Look like this ..... ? or doesnt that matter
    RewriteCond %{SERVER_PORT} ^443$  RewriteRule ^(.*)$ https://www1%{SERVER_NAME}%{REQUEST_URI} [L,R] 

    And yes i would say you would have to see "www1" for sure for the redirect to be working. You are using www1 in your redirect yes ? I know dumb question , just the simple things sometimes you know.. And the 301 shouldnt matter since it wont be indexed anyhow

    THANKS FOR the help but it didn't work either.

    I might be complicating the issue.I have a UCC ssl certificate,it has my domain name on it along with www1 and www2 .The cert is installed and everything is running ok, except for the issue of when ssl is on,the blue bar up top in my browser doesn't appear and stay.It only appears and stay when I do www1.domain.com or www2.domain.com .thus my trouble when the site is in normal ssl mode I want it to show up like https://www1.domain.com instead of https://domain.com

    P.S the blue bar doesnt show when I type the site any other way, e.g https://www.domain.com ,https://domain.com

  2. I have http running fine and ssl enabled for managers , the script detects by login credentials,and it works fine.

    My problem is I want when a manger turns on ssl(the URL is now https://site.com), they get redirected to https://www1.site.com.

    How can I do this please, in .htaccess ?

    I searched google extensively, before coming here, and cant find a solution.I dont want it to redirect http: to http://www1. just if ssl is enabled.

    I also tried

    RewriteCond %{SERVER_PORT} !^443$
    
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

    But it doesnt work.

    Thank you

×
×
  • Create New...