Forums / Install & configuration / Trouble getting SSL to work

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