I have already installed a new website for a small association hosted by 1&1 and I would like to set up Shared SSL, in order to protect users info and so on...
Is this method you did for 5.1 working also for 5.5?
/* pathologic module: (/admin/config/content/formats) > each text format > Correct URLs with Pathologic > Protocol relative URL http://mysite.com/ https://mysite-wwwls7.ssl.supercp.com/ (Save configuration) */
/* securepages module: (https://mysite-wwwls7.ssl.supercp.com/admin/config/system/securepages) > Enabled, Switch back to http pages when there are no matches, http://mysite.com, https://mysite-wwwls7.ssl.supercp.com, Make secure only the listed pages (Save configuration) */
Comments
It works! Correction in common.inc is needed
It may be of interest for those who want to secure their Drupal site with a shared ssl certificate (SSL-Proxy): It works!
After various unsuccessful inquiries in this forum
http://drupal.org/node/59755
http://drupal.org/node/59996
http://drupal.org/node/60101
http://drupal.org/node/60222
I found the solution:
Replace in common.inc the line
return '<form action="'. check_url($action) .'" method="'. $method .'"'. drupal_attributes($attributes) .">\n". $form ."\n</form>\n";with
Version 5.1
I need to achieve this with version 5.1, does anyone know how?
SSL-Proxy configuration for 5.1
We were able to get the SSL-Proxy (1&1) working.
The first step is an really ugly hack:
Change the method "theme_form" in form.inc so that it looks like this:
Yes. I know. thats dirty and you'll get a bunch of problems when ugrading and so on. But first of all, it works.
Then you have to add some lines to your settings.php (to get the cookies working):
To ensure the SSL_Path, we the added these lines to page.tpl.php.
It does a redirect when not comming through https...
Replace the "service.maximago.de" by the end of your SSL-Proxy-URL.
Is this working for Drupal 5.5?
I have already installed a new website for a small association hosted by 1&1 and I would like to set up Shared SSL, in order to protect users info and so on...
Is this method you did for 5.1 working also for 5.5?
Thanks!
psc
Error in form.inc
I tried on a test site on drupal 5.3 and i get this error:
Parse error: syntax error, unexpected T_VARIABLE in /homepages/21/d222132267/htdocs/drupal53/includes/form.inc on line 1439
my lines numbers are:
I am using Garland for this site, so I put in garland's page template, under the body tag:
And my PHP Settings are as follow:
Did I something wrong?
Or is this method not working but for 5.1?
I need a solution for 5.5
Thanks!
psc
Better solution
For Drupal 6 I think I found a better solution. See my post here:
http://drupal.org/node/339552
Drupal 7 - https with shared ssl
Here is the D7 setup that works for me on A2 shared hosting, with a shared certificate.