Is there someway to solve this? Maybe a settings in the admin cp for allowed sites or can i do some changes to the php or something? What i would like to do is to allow everyone from ".site.com"
Announcement
Collapse
No announcement yet.
"POST requests from foreign hosts are not allowed"
Collapse
X
-
"POST requests from foreign hosts are not allowed"
Im using vbIndex at www.site.com and vBulletin at "forum.site.com" and therefor i get the message "POST requests from foreign hosts are not allowed." when someone tries to login from vbindex page.
Is there someway to solve this? Maybe a settings in the admin cp for allowed sites or can i do some changes to the php or something? What i would like to do is to allow everyone from ".site.com"Tags: None
-
-
We do not support vBIndex here or forums running hacked code. Please post in the appropriate forum at vbulletin.org for help.Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
Comment
-
Yes im running 3.0.6, i think it was first introduced in 3.0.5.
I know that you dont support the hacks but this is me asking you how to make a change to init.php (since thats where you do the check) so that i can allow posts from another site.
Lets say it wasnt vbindex, but my own homemade site that i want to be able to send logins from to vbulletin. Shouldnt i be able to do that?
Comment
-
If you are using all 3.0.6 fresh unhacked files, it should work fine, this bug was fixed in 3.0.5
Comment
-
Well i downloaded 3.0.6 12 hours ago... and its not working....
The init.php even says "vBulletin 3.0.6"
I found the bug now!
You use "www" in the preg_replace on http_host
PHP Code:$http_host = preg_replace('#^www\.#i', '', $http_host);
PHP Code:$http_host = preg_replace('#^forum\.#i', '', $http_host);
Last edited by Meltingfire; Sat 22 Jan '05, 5:23am.
Comment
-
I found another issue that causes this error,
if you own domain.com .. then have domain.net and domain.org registered but parked on your domain.com domain name, if someone tries to login to your .net or .org, you'll get the same error you guys are having above. At least that was what I had when I moved back to my .com and people till typing the old domain name in which I had parked.
Anyway I hope that helps a bit... I setup a new account with the other domains and then just did a meta tag refresh/404 pages on the old site, with a 2 second delay and my traffic is moving smoothly on the new site again.
Robert - Music is my caffeine!
Comment
-
Originally posted by MeltingfireYou use "www" in the preg_replace on http_host
PHP Code:$http_host = preg_replace('#^www\.#i', '', $http_host);
PHP Code:$http_host = preg_replace('#^forum\.#i', '', $http_host);
.
Thank you again.My forum's vB3 version: 3.6.8
Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment