2 SPIP sites with one database

Hello,
Kabul Press website www.kabulpress.org officially has been blacked by Iran government. I want to know can I install SPIP on another domain and use the same database and get data. Can I keep update automatically the second SPIP website when I update the first one?
Thank you
Kamran

Hi Kamran,

yes you can do this certainly but it doesn't seem to be the best
method for your problem. The easiest and most convenient method, I
think, is to set up reverse proxy websites, that will just pull data
from the original website.

For example you could install http://kabulpress.otherhost.net/ with
something like the following configuration:

<VirtualHost *:80>
ServerName kabulpress.otherhost.net
ProxyPass / http://www.kabulpress.org/
ProxyPassReverse / http://www.kabulpress.org/
ProxyPassReverse / http://kabulpress.org/
ProxyHTMLEnable On
ProxyHTMLURLMap / http://www.kabulpress.org/
</VirtualHost>

Full docs on reverse proxies is at
http://www.apachetutor.org/admin/reverseproxies

It will need a proper install of the mod_proxy_html module for apache

-- Fil

On Thu, Dec 31, 2009 at 12:40 PM, kamran Mir Hazar
<kamran_mirhazar@yahoo.com> wrote:

Hello,
Kabul Press website www.kabulpress.org officially has been blacked by Iran
government. I want to know can I install SPIP on another domain and use the
same database and get data. Can I keep update automatically the second SPIP
website when I update the first one?
Thank you
Kamran

Thank you Fil,
I’ll figure out how it works.
Kamran


From: Fil fil@rezo.net
To: kamran Mir Hazar editor@kabulpress.org
Cc: spip-en@rezo.net
Sent: Thu, December 31, 2009 1:44:01 PM
Subject: Re: [Spip-en] 2 SPIP sites with one database

Hi Kamran,

yes you can do this certainly but it doesn’t seem to be the best
method for your problem. The easiest and most convenient method, I
think, is to set up reverse proxy websites, that will just pull data
from the original website.

For example you could install http://kabulpress.otherhost.net/ with
something like the following configuration:

<VirtualHost *:80>
ServerName kabulpress.otherhost.net
ProxyPass / http://www.kabulpress.org/
ProxyPassReverse / http://www.kabulpress.org/
ProxyPassReverse / http://kabulpress.org/
ProxyHTMLEnable On
ProxyHTMLURLMap / http://www.kabulpress.org/

Full docs on reverse proxies is at
http://www.apachetutor.org/admin/reverseproxies

It will need a proper install of the mod_proxy_html module for apache

– Fil

On Thu, Dec 31, 2009 at 12:40 PM, kamran Mir Hazar
<kamran_mirhazar@yahoo.com> wrote:

Hello,
Kabul Press website www.kabulpress.org officially has been blacked by Iran
government. I want to know can I install SPIP on another domain and use the
same database and get data. Can I keep update automatically the second SPIP
website when I update the first one?
Thank you
Kamran