Re: virtual host problems

[email protected]
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <[email protected]>
On Fri, 30 Sep 2011 10:47:37 +1300, David L Neil wrote:
> On 09/30/2011 10:29 AM, Mark Foster wrote:
>> On 30/09/11 10:25, Robin Paulson wrote:
>>> hi all,
>>> i set up a blog last night, together with a domain i bought. the 
>>> blog
>>> is wordpress and hosted on the same ubuntu lucid server as two 
>>> other
>>> websites i run.
>>>
>>> if i type in the domain name, it goes to the site correctly, and 
>>> the
>>> domain name is shown in the address bar:
>>> http://universitywithoutconditions.ac.nz/
>>>
>>> however, if i hover over a link to a sub-page, say 'About', it 
>>> gives
>>> me a link of another website on that server:
>>> https://bumblepuppy.org/uwc_ac_nz/?page_id=11
>>>
>>> can anyone suggest what i've done wrong?
>>>
>>> i'm guessing it's something wrong in httpd.conf
>>>
>>> the other site on that server reports the domain name correctly
>>
>> Wordpress has been told what its own root-domain address is? The 
>> link to
>> 'About' is built by the CMS and if it's not relative-path, it can 
>> only
>> be getting that URL from somewhere you've configured... ?
>>
>> Caveat: Ive never used Wordpress.  Drupal behavior is what i'm 
>> basing
>> this logic on ;-)
>
> Similar thoughts: Apache redirect or .htaccess file not in place?

No, I think this is in the Wordpress settings. There is definitely a 
setting for this, which may not be filled in by default.

That said, did you set the ServerName option in the vhost correctly?

Rob


_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.