[pmwiki-users] Enableing pmWiki for SSL

IchBin weconsultants at gmail.com
Mon Apr 30 11:13:25 CDT 2007


Patrick R. Michaud wrote:
> On Mon, Apr 30, 2007 at 09:02:06AM +0200, Dominique Faure wrote:
>> On 4/30/07, H. Fox <haganfox at users.sourceforge.net> wrote:
>>> I switched the contitional to this:
>>>
>>>  if (!$_SERVER["HTTPS"] == 'on' || @$_SERVER['SERVER_PORT'] != '443') {
>> You hurt my boolean algebra here: not(a or b) = not(a) AND not(b)
>> so I would merely write:
>>
>> if (!$_SERVER["HTTPS"] == 'on' && @$_SERVER['SERVER_PORT'] != '443') {
> 
> Or even:
> 
>     if (@$_SERVER['HTTPS'] != 'on' && @$_SERVER['SERVER_PORT'] != '443') {
> 
> And, for versions of PmWiki after 2.2.0-beta18, one can do the
> equivalent with:
> 
>     if ($UrlScheme != 'https') {
> 
> Pm

Thanks for the above dialogue. I have a lame question. Apparently I need 
to implement SSL ala OpenSSL under Apache. Sorry I have not had to deal 
with implementing SSL before. Is this true? Also my error, I mentioned 
when using HTTPS may be a firewall issue but not 100% sure yet.

Any info would be helpful. I realize this may not be the correct group 
to ask the above question but at least it is a start for me.

-- 
Thanks in Advance...           http://weconsultants.prophp.org
IchBin, Philadelphia, Pa, USA  http://ichbinquotations.awardspace.com
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)






More information about the pmwiki-users mailing list