![]() |
Login redirect wrong url
Hi!
Once I login into my vbulletin board, it says I am logged in successfully but the redirect takes me to an alternative url to my board, which renders the cookies useless. How do I change this? e.g. I go to community.mycompany.com, login and am redirected to alternativeservername.mycompany.com. How do I tell vbulletin that I need to be redirected to community.mycompany.com? More specifically, I looked at the code and it is the $vbulletin->options['forumhome'] variable that contains the wrong information. How do I change this thing? Where is it set? Can I override it? Thanks!! |
admincp --> Cookies and HTTP Header Options --> cookie domain --> use custom setting
use .mycompany.com make sure to add the preceeding dot. |
thanks for the suggestion,
actually I want to get rid of the second url altogether (I don't just want to allow it, I also don't want any links to show up anywhere) Secondly, the 2nd name is not of the form xxx.mycompany.com but totally different (eg xx.myothercompany.com) I tried searching in the sourcecode but I just can't find where that $vbulletin->options['forumhome'] is defined.. |
Provide a link to your site, might help, also set up a test account for use.
|
At last I found the problem. Due to some complicated proxy problem, the $_SERVER['hostname'] became the second name and that is used in the redirection meganism of vbulletin. Makes me wonder why this hostname is used anyway.... why not make the urls relative?
|
All times are GMT. The time now is 03:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|