how do i make sure a webpage can only be accessed through https?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • whatif_3
    Registered User
    • Jul 2004
    • 459

    #1

    how do i make sure a webpage can only be accessed through https?

    for some reason, my admin cant do it and i need to get it done, any suggestions?
  • grumpy
    Too lazy to set a custom title
    • Jan 2002
    • 9870

    #2
    get a verisign certificate
    Don't let greediness blur your vision | You gotta let some shit slide
    icq - 441-456-888

    Comment

    • woj
      <&(©¿©)&>
      • Jul 2002
      • 47882

      #3
      If you want to invest a few bucks for a solution, icq:33375924
      Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
      Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
      Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

      Comment

      • quantum-x
        Confirmed User
        • Feb 2002
        • 6863

        #4
        in a .htaccess

        RewriteEngine On
        RewriteCond %{HTTPS} !on
        RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
        PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

        Comment

        • quantum-x
          Confirmed User
          • Feb 2002
          • 6863

          #5
          Originally posted by woj
          If you want to invest a few bucks for a solution, icq:33375924
          Sorry Woj :|
          PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

          Comment

          • whatif_3
            Registered User
            • Jul 2004
            • 459

            #6
            Originally posted by quantum-x
            in a .htaccess

            RewriteEngine On
            RewriteCond %{HTTPS} !on
            RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
            thanks man, appreciate it

            Comment

            • fris
              Too lazy to set a custom title
              • Aug 2002
              • 55679

              #7
              ya just forward all requests to https
              Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

              Comment

              • Cyandin
                Confirmed User
                • Aug 2008
                • 1723

                #8
                Originally posted by quantum-x
                in a .htaccess

                RewriteEngine On
                RewriteCond %{HTTPS} !on
                RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

                Comment

                • fris
                  Too lazy to set a custom title
                  • Aug 2002
                  • 55679

                  #9
                  Code:
                  RewriteEngine On
                  RewriteCond %{HTTPS} !=on [NC] 
                  RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
                  Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                  Comment

                  • who
                    So Fucking Banned
                    • Aug 2003
                    • 19593

                    #10
                    htaccess hack is totally insecure.

                    Comment

                    • whatif_3
                      Registered User
                      • Jul 2004
                      • 459

                      #11
                      hmm, will that prevent somebody from going back to the url and taking the "s" out and proceeding? (and if they do, send them back to https://)

                      thanks for the help guys

                      Comment

                      • camdough
                        Confirmed User
                        • Apr 2007
                        • 55

                        #12
                        Yes it will.

                        Test it out yourself.

                        Originally posted by whatif_3
                        hmm, will that prevent somebody from going back to the url and taking the "s" out and proceeding? (and if they do, send them back to

                        thanks for the help guys

                        Comment

                        • fris
                          Too lazy to set a custom title
                          • Aug 2002
                          • 55679

                          #13
                          Originally posted by who
                          htaccess hack is totally insecure.
                          Please tell us why?
                          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                          Comment

                          • alias
                            aliasx
                            • Apr 2001
                            • 19010

                            #14
                            Originally posted by quantum-x
                            in a .htaccess

                            RewriteEngine On
                            RewriteCond %{HTTPS} !on
                            RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
                            https://porncorporation.com

                            Comment

                            Working...