Skip to content

Reverse-proxy issues #182

@HugoTH85

Description

@HugoTH85

Hello,

I have some trouble with trying to use reverse-proxy with OpenNetAdmin. It seems like I cannot use this software like that.
More precisely, when I am using the reverse-proxy URL, I can't connect with a LDAP account, and admin account doesn't have any permissions. Moreover, I cannot see the data (VLAN_campus, VLAN, subnets, etc.).
It would come from the Response Cookie that the server formulates.
To me, it is linked with this lines :

if(PHP_VERSION_ID < 70300) {
      session_set_cookie_params($conf['cookie_life'], '/; samesite=Strict', NULL, $secure, true);
    } else {
      session_set_cookie_params([
        'lifetime' => $conf['cookie_life'],
        'path' => '/',
        'domain' => $_SERVER['SERVER_NAME'],
        'secure' => $secure,
        'httponly' => true,
        'samesite' => 'Strict'
      ]);
    }

in the ona/www/include/functions_general.inc.php file.

What are your opinions about that ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions