I have a setup where the ZoneMinder server is located in internal network behind a terminating SSL proxy.
In order to access the server, I needed to change a line in index.php:
Code: Select all
define( "ZM_BASE_URL", $protocol.'://'.$_SERVER['HTTP_HOST'] );
Code: Select all
define( "ZM_BASE_URL", "" );
Is there a reason to hardcode the ZM_BASE_URL in PHP code?
--
Jukka