#13 Patch to support SSL offloading

Unstable_(example)
closed
nobody
SSL (1)
1
2015-06-05
2014-04-25
No

I've attached a patch to support SSL offloading so it's possible to have phpipam running behind a reverse proxy. For more information you can look at the information in the links listed below.

This patch checks for the headers HTTP_X_FORWARDED_PROTO or HTTP_X_SECURE_REQUEST and set the base URL as https:// if they are properly setup.

http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
https://drupal.org/node/313145

1 Attachments

Discussion

  • Miha Petkovsek

    Miha Petkovsek - 2014-11-17

    Thanks, will be available in next relase. brm

     
  • Miha Petkovsek

    Miha Petkovsek - 2014-11-17
    • status: open --> closed
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2015-06-05

    I've had a go at implementing this, but when I do put it into index.php, the behaviour I get is unchanged. Essentially I login but then immediately get re-directed back to SERVER_NAME/?page=login&section=timeout

    Did I paste the code in the wrong place perhaps?

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks