SOLVED http://localhost/ redirects to http://www.localhost.com
Posted 10 years 8 months ago
Hello there.
On my computer (offline) I successfully installed a Joomla 2.5 Website.
When I try to view the Site through my Browser I rather get a error,
as http://localhost/mysite/ redirects to
www.localhost.com/mysite/
Can anyone explain to me what the solution to this is?
Thanks in advance.
Re: SOLVED http://localhost/ redirects to http://www.localhost.com
Posted 10 years 8 months ago
it sounds like you don't have your webserver services running ?
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED http://localhost/ redirects to http://www.localhost.com
Posted 10 years 8 months ago
check you webserver is using port 80.
Also check you hosts file has 127.0.0.1 pointing at localhost (on windows it's in c:/windows/system32/drivers/etc/hosts).
What happens if you use 127.0.0.1?
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED http://localhost/ redirects to http://www.localhost.com
Posted 10 years 8 months ago
Mr T, I'm grateful for your attention.
After making several trials in various directions, I discovered that the trick lies with my XAMPP version. Actually, I've been using XAMPP 1.7.0, MEANWHILE - as I can deduce, Joomla 2.5 Templates work best with XAMPP 1.8.2 +
XAMPP 1.7.0 has PHP 5.2 INSTEAD of PHP 5.4
I hope this would help someone somewhere.
Onceagain, THANKS