Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#13 Patch to support SSL offloading

Unstable_(example)
closed
nobody
SSL (1)
1
2014-11-17
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


Anonymous


Cancel   Add attachments