Redirect url including "localhost"
Hello folks,
First, thank all involved for this very cool, very interesting software! I've done a new install on a remote server, and I'll preface this by saying that I've done all sorts of installs of SMF, phpBB, and Joomla on the same servers with no installation issues.
When I attempt to sign in, the redirect url comes as "http://localhost://www.mydomain.com/" rather than simply "http://www.mydomain.com". If I manually correct the address, I'm in and everything works from there. The web path to vanilla is set correctly to "http://www.mydomain.com". Cookie domain is "www.mydomain.com", and cookie path is set to "/".
I've found numerous topics that are tangent to this issue, but nothing that has answered my question specifically.
Any help would be greatly appreciated, I think the forum is terrific.
Thanks!
Matt
0
Comments
conf/settings.php
on your remote server and changes the strings to their correct value.$Configuration['HTTP_METHOD']
should be'http'
instead of'http://'
$Configuration['HTTP_METHOD'] = 'http';
Was this a value you set yourself? If not, perhaps we have an issue with the installer...
Both conf/settings.php files (autogenerated from the installer) contained
$Configuration['HTTP_METHOD'] = 'http://';
instead of
$Configuration['HTTP_METHOD'] = 'http';
and all of the login problems were a result of redirect errors that produced URLs like:
http://://mysite.com/discussions/
I'd agree that this looks like an installer bug.
Thanks for this post