Ticket #502 (closed Bug report: fixed)
PATCH: Error using ssl and non standard port 443
| Reported by: | v_w_us@… | Owned by: | gbastien |
|---|---|---|---|
| Priority: | blocker | Milestone: | Not yet assigned to a Milestone |
| Component: | Auth server, Feature request | Version: | |
| Keywords: | Cc: |
Description
If you configure the auth manager to use SSL but the port is not 443, it does'nt works.
A possible solution:
% diff -c path_defines_url_content.php.orig path_defines_url_content.php *** path_defines_url_content.php.orig 2008-10-29 12:54:38.000000000 +0100 --- path_defines_url_content.php 2008-10-29 12:49:37.000000000 +0100 *************** *** 108,114 ****
/**
- Define base web address to use (this time using SLL) */
! define('BASE_SSL_PATH', ' https://'.$_SERVER['SERVER_NAME'].SYSTEM_PATH);
} else {
/**
--- 108,120 ----
/**
- Define base web address to use (this time using SLL) */
! // Non Standard SSL port ! // define('BASE_SSL_PATH', ' https://'.$_SERVER['SERVER_NAME'].SYSTEM_PATH); ! if ($_SERVERSERVER_PORT? != 80 && $_SERVERSERVER_PORT? != 443) { ! define('BASE_SSL_PATH', ' https://'.$_SERVER['SERVER_NAME'] . ':'.$_SERVERSERVER_PORT?. SYSTEM_PATH); ! } else { ! define('BASE_SSL_PATH', ' https://'.$_SERVER['SERVER_NAME'] . SYSTEM_PATH); ! }
} else {
/**
I hope you can set the patch for next version.
Regards
