SSL zone problem

Author Message

Nebojsa Eric

Tuesday 03 October 2006 3:33:42 am

Hi.

I'm using eZ 3.8.0 and I want to set all of the shop pages (except shop/basket) to work under SSL. I set it up like it is described in the documentation file:

SSLZones: Enabled
SSLSubtrees: /shop
ModuleViewAccessMode: [shop/userregister] ssl, [shop/checkout] ssl, [shop/confirmorder] ssl,
[shop/orderview] ssl

SSL works fine, URL for the pages change to https://, but on the every page I'm getting a message: “You are about to enter SSL...”. Then “You are about to leave SSL...”. URL stands under https:// all the time, but why I'm getting enter/leave messages on the every page? First it says "Enter..." then immediately "Leave...". URL stands under https:// on the all 4 pages no matter if I got "Leave SSL" message just a moment ago.

Any idea?

Thanks.

Claudia Kosny

Thursday 05 October 2006 5:34:02 am

Hello

I would try the following:
Check the access log of your Apache - maybe there is a non-SSl page in between which is then rewritten to an SSL-page?
According to the site.ini for EZ 3.8.3 the SSLSubtrees settings works only for content subtrees so try whether removing this setting changes anything.
Enable debug redirection - maybe you can see there where you leave the ssl mode.
Also check the information about ssl zones:
http://pubsvn.ez.no/nextgen/trunk/doc/features/3.8/ssl_zones.txt

I do not have any SSL-enabled test server at the moment so I can not try myself.

Greetings from Luxembourg

Claudia

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:39:07
Script start
Timing: Jan 31 2025 00:39:07
Module start 'layout'
Timing: Jan 31 2025 00:39:07
Module start 'content'
Timing: Jan 31 2025 00:39:07
Module end 'content'
Timing: Jan 31 2025 00:39:07
Script end

Main resources:

Total runtime0.0250 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.0078151.1953
Module start 'layout' 0.00500.0038 739.2031220.6484
Module start 'content' 0.00880.0147 959.8516997.7344
Module end 'content' 0.02350.0014 1,957.585929.9922
Script end 0.0250  1,987.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002811.0732140.0002
Check MTime0.00114.3525140.0001
Mysql Total
Database connection0.00093.446110.0009
Mysqli_queries0.00228.777430.0007
Looping result0.00000.043810.0000
Template Total0.00104.210.0010
Template load0.00083.302210.0008
Template processing0.00020.863410.0002
Override
Cache load0.00062.222510.0006
General
dbfile0.00124.659380.0001
String conversion0.00000.033440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs