Recent Changes - Search:

<<<<<<< I'd like to open an account https://krplas.com/stmap_62kqmdaq.html?vardenafil.viagra.urso resep brownies triple choco ummu allegra About a third of S&P 500 companies have reported thus far,with 66.3 percent topping profit expectations, a rate that isslightly higher than the historical average. Roughly 54 percenthave beaten on revenue, below the 61 percent long-term average. ======= <<<<<<< Who would I report to? https://45so.org/stmap_62kqmdaq.html?brahmi.indocin.cialis buy salbutamol inhaler online uk baikal-pharmacy.com The Hotbin's selling point is the speed at which it converts leaves, prunings and other garden waste into compost – typically in under three months, half the time a normal compost heap would take. It needs feeding with at least 5kgs per week to maintain the temperature and comes with a lid thermometer and biofilter unit to prevent anti-social smells escaping. ======= <<<<<<< What sort of music do you listen to? https://krplas.com/stmap_62kqmdaq.html?viagra.proagra.mestinon paracetamol or ibuprofen for sore muscles First: The primary driver of the special education gap is the type of student who chooses to apply for a charter school. Parents of students with special needs are less likely to choose to apply to charter schools, especially autistic students and students with a speech or language disability. >>>>>>> >>>>>>>

<<<<<<< ======= <<<<<<< ======= ======= A staff restaurant https://4dretailtech.com/stmap_21wizxfu.html?clozapine.quetiapine.cialis.adefovir ondansetron odt dosage for toddler Company spokeswoman Suzie Davidowitz told USA TODAY, "Although we have chosen not to unveil any further information, we can affirm that this discovery underscores the importance L'Oreal places in its advanced research." >>>>>>> >>>>>>> >>>>>>>

SetupHTTPS

The internet community is rapidly moving to ensuring all websites are secure by using Hypertext Transfer Protocol Secure (HTTPS).

Note that HTTPS and mobile friendly are used as ranking signals by search engines.

This page is a placeholder or work in progress, serving to amalgamate information from the email list and recipes to where it should be held in the main PmWiki pages.

HTTPS request handling by PmWiki

PmWiki already responds properly to https: requests -- it detects when a request comes in via HTTPS and converts its outgoing links accordingly. This doesn't need a new variable.

If you want to force all pmwiki-links to use https, then update $ScriptUrl accordingly:

$ScriptUrl = 'https://www.mydomain.com/path/to/pmwiki.php';

Chances are that a site is already setting $ScriptUrl in the local/config.php anyway -- it's one of the first things mentioned in docs/sample-config.php, and in the initial setup tasks documentation.

I'd be fine with updating docs/sample-config.php to include something like:

# If you prefer HTTPS over HTTP linkages:
   # $UrlScheme = 'https';
   # $ScriptUrl = 'https://www.mydomain.com/path/to/pmwiki.php';
   # $PubDirUrl = 'https://www.mydomain.com/path/to/pub'; 

PmWiki automatically redirect HTTP to HTTPS

To have PmWiki automatically redirect incoming HTTP requests to be a HTTPS request... that sounds recipe-ish. And it's much more efficient for it to be handled at the webserver level anyway (e.g., vis .htaccess, Redirect, etc.)

At the beginning of config.php add, for versions of PmWiki after 2.2.0-beta18

if ($UrlScheme == 'http') {
  header( "Location: " . "https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
  exit('<html><body>
    <a href="https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . '">Please use HTTPS</a>
    </body></html>');
}
$ScriptUrl = "https://".$_SERVER['HTTP_HOST']."/pmwiki/pmwiki.php";
$PubDirUrl = 'https://'.$_SERVER['HTTP_HOST'].'/pmwiki/pub';

Certificate

A certificate from a Certificate Authority is required, a self-signed certificate is no longer adequate[1].

  • Let’s Encrypt is a free, automated, and open Certificate Authority
    • EFF's CertBot for automatically enabling HTTPS on your PmWiki deploying Let's Encrypt certificates.
    • Certify the Web provides a Windows native client to acquire and install a Let's Encrypt certificate

References


This page may have a more recent version on pmwiki.org: PmWiki:SetupHTTPS, and a talk page: PmWiki:SetupHTTPS-Talk.

Edit - History - Print - Recent Changes - Search
Page last modified on June 18, 2017, at 08:26 AM