Something like this in pmwiki/local/Group.Page1.php:
if ($UrlScheme != 'https')
Redirect($pagename, 'https://your-secure-page1-url');
Or the generic way:
if ($UrlScheme != 'https') {
$UrlScheme = 'https';
$ScriptUrl =
$UrlScheme.'://'.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];
Redirect($pagename);
}
Petko
On 2015-03-05 10:41, Russ wrote:
I have a site with two pages (containing forms) that need to be
handled via https ... is there an easy way in config.php or via
per-page customizations to ensure the connections for those pages are
made using https instead of http? (An SSL certificate is installed on
the server, just wondering the easiest way to redirect the two
specific wiki pages.)
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users