So just put a VirtualHost directive into apache httpd.conf on the domain1 
server and point the logical name for domain2 to the IP of domain1.

B.



On 2011-10-28, at 11:04 AM, Isabell Alcott wrote:

> *if someone
> goes to domain2, all their urls should stay domain2.  ditto for
> domain1.*
> 
> yeeeeeeeee, this is exactly what i want. Im sorry that i brought such a
> confusion into this.
> 
> 
> 
> 
> 
> On Fri, Oct 28, 2011 at 4:52 PM, Olivier Beaton 
> <[email protected]>wrote:
> 
>> Lots of confusion here, let me try to clear it up:
>> 
>> http://www.domain1.com/wiki/     serves /var/www/html/w   and the wiki
>> mysql db with no prefix
>> http://www.domain2.com/wiki/     serves /var/www/html/w   and the wiki
>> mysql db with no prefix
>> 
>> They are both the exact same wiki, with the exact same articles,
>> users, database, tables, data, and the exact same php files.
>> 
>> If I have this right, all Isabell wants is have two domain names serve
>> the same wiki.  Isabell does not want to use a redirect, if someone
>> goes to domain2, all their urls should stay domain2.  ditto for
>> domain1.
>> 
>> - Olivier
>> 
>> On Fri, Oct 28, 2011 at 9:04 AM, Isabell Alcott
>> <[email protected]> wrote:
>>> yes and then it will be redirected to domain1
>>> 
>>> So here is my configuration: domain1 and domain2 point to the same wiki
>>> installation in one and the same folder on my webhost.
>>> 
>>> when i browse domain2, domain1 is standing in the browser,
>>> 
>>> if someone browses domain2, i would like to see it in the browser.
>>> 
>>> 
>>> On Fri, Oct 28, 2011 at 2:54 PM, Curulan Angelicos <
>> [email protected]>wrote:
>>> 
>>>> On 2011-10-28 07:53, Isabell Alcott wrote:
>>>>> *or simply have both domains access the same directory path on your
>>>>> host while retaining the different domain names? *
>>>>> yes, thats exactly what i would like to have. Im sorry that I did
>>>>> not express it so clear caused by my lag of english language
>>>>> 
>>>>> What exactly do i need to write into the htaccess ?
>>>> 
>>>> I would suggest just setting up the second domain to point to the same
>>>> directory space as the first domain. Your hosting or DNS company should
>>>> be able to help you with that.
>>>> --
>>>> Curulan Angelicos (aka Tom Ditmars)
>>>> Leader, Clan Titan
>>>> OpenPG KeyID: 0x50F64C0D
>>>> 
>>>> Clan Website: http://clantitan.org
>>>> 
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> [email protected]
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>> 
>>>> 
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> [email protected]
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>> 
>> 
>> _______________________________________________
>> MediaWiki-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> 
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to