Hello Mauro do Carmo,
I am doing the same thing on my wiki, and here is how I have it set up.
In Apache I have both of the websites configured to use the same document root. Because I have different settings on the different wikis, I have
========== $wiki1 = strpos($_SERVER['HTTP_HOST'],"wiki1.domain.com"); if ($wiki1 === false) { // Wiki 1 stuff here } else { // Wiki 2 stuff here } ==========
in my LocalSettings.php file.
I hope that this helps, Kasimir Gabert
On 10/19/06, Mauro do Carmo mauro@carmo.info wrote:
Let me tray in another way:
I have a site located at www.domain.com.
I want a real copy of all content of my site accessible in a different address like www.test.domain.com.
That is very important to me, so if someone could give some hints, I will really appreciate that, thanks again, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro |do Carmo |Sent: Wednesday, October 18, 2006 3:27 PM |To: 'MediaWiki announcements and site admin list' |Subject: [Mediawiki-l] Site mirror or copy | |Hello, | |I would like to create a copy of my wiki in a diferent address. Today this is my situation: | |Http://www.mydomain.com (problem 1) |DB_mydomain ___________(problem 2) |Files of mydomain in my host (easy to download and upload in my new folder) | |_______Problem 1 |It is going to be a different domain, so how can I adjust this change in my wiki? It is automatic? | |_______Problem 2 |All the time I try to upload my DB_mydomain, I get a massage telling me that there is already a |Databank with this name. I just |don't know what to do... | |Thanks a lot, |mauro. | |-- |No virus found in this outgoing message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 | |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l