big problem installing addons to a subdomain

myweb

Well-Known Member
Jun 18, 2002
70
0
156
Tokyo

myweb

Well-Known Member
Jun 18, 2002
70
0
156
Tokyo
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.
Anyone having the same problem? This actually means that cpaddons may not be installed on subdomains.