A website has a primary domain name, multiple subdomain names, and one public logon. later, it was found that the primary domain name can be logged on, and the subdomain name cannot be logged on, after logging on to the primary domain name, you still haven't logged on to the subdomain name, and clicking log on to the subdomain name will jump back to the subdomain name home page. how can this problem be solved... A website has a primary domain name, multiple subdomains, and a public login.
The primary domain name can be logged on, and the subdomain name cannot be logged on. after the primary domain name is logged on, the subdomain name is still not logged on, and clicking logon on the subdomain name will jump back to the subdomain name homepage, login Page not found
How can this problem be solved?
YesLaravel 5.2 .*
For example, primary domain nameQiyue. io
Subdomain nameBlog. qiyue. io
Reply content:
A website has a primary domain name, multiple subdomains, and a public login.
The primary domain name can be logged on, and the subdomain name cannot be logged on. after the primary domain name is logged on, the subdomain name is still not logged on, and clicking logon on the subdomain name will jump back to the subdomain name homepage, login Page not found
How can this problem be solved?
YesLaravel 5.2 .*
For example, primary domain nameQiyue. io
Subdomain nameBlog. qiyue. io
Session synchronization:
The following three steps are required:
Redis memory session
Change the cookie domain name of the session
The secret of the two projects is changed to the same