Yay, solved! So for others reference, here is what I did. I combined the
last suggestion by jtankers from the http://www.pmwiki
.org/wiki/Cookbook/SwitchToSSLMode web page and the hint from Patrick to
get this (had to include all new path variables because of the way my site
is set up, but this may
Depending on what sort of authentication system you're using, it'd
be something like:
include_once("scripts/authuser.php");
if (@$AuthId) {
$ScriptUrl = 'https://www.example.com/pmwiki/pmwiki.php';
$PubDirUrl = 'https://www.example.com/pmwiki/pub';
# ... other switc
Have you checked your paths in config.php? If it is full specified and
not https this could also be an reason for switching.
Regards
Clemens
Maria McKinley wrote:
Does anyone know if there is a way to detect from config.php if a user
is logged in or not? Most of the recipes in SwitchToSSLMode
Does anyone know if there is a way to detect from config.php if a user is
logged in or not? Most of the recipes in SwitchToSSLMode assume you just
want the login itself to use ssl, or at most just certain actions to use
ssl. But it seems that the way my wiki is set up, switching back and forth
betw