[Pmwiki-users] Re: Edit via https only
Albi Rebmann
albi
Tue Apr 13 15:21:53 CDT 2004
Patrick R. Michaud schrieb:
> How about something like...
>
> if ($action=='edit' || $action=='post') {
> $ScriptUrl = 'https://your/secure/path/to/pmwiki.php';
> $PubDirUrl = 'https://your/secure/path/to/pub';
> if (!@$_SERVER['HTTPS']) Redirect($pagename,'\$PageUrl?action=edit');
> }
>
> I haven't tried this but it might work.
Thanks very much! It works with one little change:
Redirect($pagename,'$PageUrl?action=edit');
ALBI...
More information about the pmwiki-users
mailing list