For example, when installing Xoops to http://sub.mydomain.com, the config file variable [% url_to_install_without_trailing_slash %] in mainfile.php (config file for Xoops) is converted to http://mydomain.com/sub instead of the correct subdomain url http://sub.mydomain.com.
With this configuration, when I login from http://sub.mydomain.com, i get redirected to http://mydomain.com/sub and logged out because the session cookies are diffrerent for these 2 domains.
With this configuration, when I login from http://sub.mydomain.com, i get redirected to http://mydomain.com/sub and logged out because the session cookies are diffrerent for these 2 domains.