Trouble getting SSL to work

Author Message

Sander van den Akker

Friday 25 February 2011 4:59:07 am

Hi people,

I have some trouble getting SSL working on one of our sites. These are my settings:

SSLZones=enabled
SSLSubtrees=/contact/form

The ModuleViewAccessMode settings are all default (keep).

According to the docs this configuration should have the site jump automatically to https for the url /contact/form. The whole site however is jumping to https and ignoring 'keep' policies. What's wrong? I am suspecting a bug, but I'm not 100% sure.

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Robin Muilwijk

Saturday 26 February 2011 11:25:35 am

Hi Sander,

Which version of eZ are you using? Any other relevant information on the setup?

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Sander van den Akker

Monday 28 February 2011 5:02:04 am

I'm using eZ Publish 4.4, but the SSL code has not been altered since 3.8 afaik.

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Peter Keung

Monday 28 February 2011 8:10:12 am

Two things jump out at me

- Is contact/form a custom module view? If so, it should go in the ModuleViewAccessMode array, since SSLSubtrees only works on the content structure tree
- Otherwise: SSLSubtrees is an array, so if you are indeed added specific nodes to the list, the syntax would be SSLSubtrees[]=/contact/form

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Sander van den Akker

Tuesday 01 March 2011 2:40:48 am

Thanks for thinking along.

No it's just the content module with an url alias.

The SSLSubtrees[]=/contact/form is specified as an array element. Sorry for the mistake above.

Still searching for the solution!

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

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 30 2025 00:48:01
Script start
Timing: Jan 30 2025 00:48:01
Module start 'layout'
Timing: Jan 30 2025 00:48:01
Module start 'content'
Timing: Jan 30 2025 00:48:01
Module end 'content'
Timing: Jan 30 2025 00:48:01
Script end

Main resources:

Total runtime0.0144 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.2500151.2266
Module start 'layout' 0.00590.0028 739.476636.6875
Module start 'content' 0.00870.0043 776.164194.1875
Module end 'content' 0.01300.0014 870.351637.9766
Script end 0.0144  908.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.1913140.0002
Check MTime0.00107.0822140.0001
Mysql Total
Database connection0.00064.279110.0006
Mysqli_queries0.003926.948930.0013
Looping result0.00000.095810.0000
Template Total0.00117.510.0011
Template load0.00085.629510.0008
Template processing0.00031.799510.0003
Override
Cache load0.00063.808610.0006
General
dbfile0.00031.994380.0000
String conversion0.00000.054540.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