[Pmwiki-users] https

Ruediger Marwein ruediger.marwein
Thu Oct 9 16:39:59 CDT 2003


maybe OT, but a header redirect can also be described by


so the protocol doesn't matter anymore.


At 14:02 09.10.2003 -0600, you wrote:
>On Thu, Oct 09, 2003 at 08:58:10PM +0200, D. Deuter wrote:
> >
> > htaccess-passwords are transferred plaintext through Internet.
> > So I tried to access my Wiki-Page via https - but it seems as
> > if the http-header was hardcoded into pmWiki! Why doesn't
> > pmWiki just refer to other pages relatively (which would also
> > make it easier to access non-Wiki-pages in the site)??
>...because relative pages don't work if the page name is encoded into
>the URL path.  For example, given a url of
>     http://www.pmichaud.com/wiki/Main/HomePage
>The relative url to the PmWiki.PmWiki page would have to be
>"../PmWiki/PmWiki", which has the potential for all sorts of
>However, the http: is not really "hardcoded" into PmWiki--you can always
>change it in local.php.  If you want to use https: instead of http:, just add
>    $ScriptUrl = 'https://'.$HTTP_SERVER_VARS['HTTP_HOST'];
>to local.php and all of the urls will use the https: address instead.
>Pmwiki-users mailing list
>Pmwiki-users at pmichaud.com

"I think, there is a market for maybe 5 computers".
                           Thomas Watson, IBM, 1943 

More information about the pmwiki-users mailing list