Welcome Guest, Not a member yet? Register   Sign In
Re-direct http:// to https:// for online documentation
#1
Question 

Not sure if there's a reason for this, but it seems like the user guide URL http://codeigniter.com/user_guide/genera...tions.html does not automatically re-direct to https://codeigniter.com/user_guide/gener...tions.html.

Just my two cents ...

(and thank you for documentation that makes sense)

-joho
Reply
#2

Code:
Here is an excellent method for requiring SSL:

# require SSL
SSLOptions +StrictRequire
SSLRequireSSL
SSLRequire %{HTTP_HOST} eq "domain.tld"
ErrorDocument 403 https://domain.tld

# require SSL without mod_ssl
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

Not sure to whom that was directed, but my post was intended for those responsible for the site(s) that hold CI documentation :-)
Reply




Theme © iAndrew 2016 - Forum software by © MyBB