Apache Server configuration support - Help, the browser keeps changing the first part of the url to localhost

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > October 2006 > Help, the browser keeps changing the first part of the url to localhost





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help, the browser keeps changing the first part of the url to localhost
jmrsuarez@gmail.com

2006-10-20, 7:27 pm

i have installed mediawiki and wordpress on a openbsd server but it
keeps changing the first part of the url to localhost

example: When i type or use a link as http://mydomain.com/mediawiki/
and press enter
the browser reloads with

http://localhost/mediawiki

same if i try the wordpress script,

this is the hosts file on /etc/
::1 localhost.mydomain.com localhost
127.0.0.1 localhost.mydomain.com localhost
::1 Yuzuki.mydomain.com mydomain
127.0.0.1 mydomain.mydomain.com mydomain

i have changed the real domain with find replace to post the last.

thanks in advance

kbulgrien

2006-10-20, 7:27 pm

jmrsuarez@gmail.com wrote:
> i have installed mediawiki and wordpress on a openbsd server but it
> keeps changing the first part of the url to localhost


This is almost certainly not an apache issue. Chances are it is an
option in the wiki configuration files. I had the same problem with
pm-wiki. I could be wrong, but I suggest looking at the installation
instructions for the wiki.

jmrsuarez@gmail.com

2006-10-21, 1:32 am


kbulgrien wrote:
.....

Thanks for the responce

i have also installed the wordpress php script, and it
also happens when i try to access it,

anyway i will recheck the installation procedure for mediawiki.

Stan R.

2006-10-22, 1:16 pm

jmrsuarez@gmail.com wrote:
> kbulgrien wrote:
> ....
>
> Thanks for the responce
>
> i have also installed the wordpress php script, and it
> also happens when i try to access it,
>
> anyway i will recheck the installation procedure for mediawiki.


open up your httpd.conf make sure ServerName (either the one in the main
outter block, or if you have a vhost, then in the vhost block) to your
fully qualified domain (ie mydomain.com); by default you probably have
127.0.0.1 in there.

--
Stan


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com