[mir-coders] Re: Migrating sites due to vox being down,
and a SSI problem, was: Re: [IMC-Tech] server in Philly
blue.pi
blue.pi at so36.net
Sat Dec 18 03:54:51 PST 2004
Hi everybody,
thanks for moving imc beirut content so quickly. However, now the the site
does not register changes anymore since 4 days. check the date: it's still
on 15.12. Openposting works as I can see from new articles arriving in the
admin but not on the site.
Some curiousity I also found: If you go to https://beirut.indymedia.org you
get to the IMC UK.
Yours,
blue
Chris writes:
> Hi
>
> On Sun 12-Dec-2004 at 07:33:05PM +0100, matze wrote:
>>
>> iirc imc beirut uses vox as mir mirror. if that's right
>> a short term solution would be using another box
>> (ahimsa?) temporarily for hosting beiruts content.
>
> Bolivia and Beirut have been moved to ahimsa and
> Switzerland is also being copied over.
>
> These temp domain names point to the sites on ahimsa:
>
> http://bolivia.indymedia.org.uk/
> http://beirut.indymedia.org.uk/
> http://ch.indymedia.org.uk/
>
> The proper domain names might have been sorted already,
> I'm not sure.
>
> One thing that has been discovered is that Apache 1.3
> (which was seving these sites) is not so picky with SSI as
> apache 2.x, this works on Apache 1.3.x:
>
> <!--# include virtual="../../top_navi.inc" -->
>
> But not on Apache 2.x -- the space between # and include
> need removing:
>
> <!--#include virtual="../../top_navi.inc" -->
>
> So, a script to fix the existing pages is needed and all
> the templates will also need fixing...
>
> If you don't know what I'm talking about the sympton is
> this text on pages:
>
> [an error occurred while processing this directive]
>
> rhatto has suggested a script to fix this, I haven't run
> this yet because it's late, I'm tired and I fear doing
> something daft!
>
> Chris
>
> On Sun 12-Dec-2004 at 10:02:24PM -0200, rhatto wrote:
>> Something like this will work:
>>
>> 1 - Create a script like convert.sh:
>>
>> #/bin/bash
>> sed -e 's/<!--# include/<!--#include/g' $1 > $1.tmp
>> mv $1.tmp $1
>>
>> 2 - Then run it through find. On bash prompt type:
>>
>> for _file in inc html shtml content; do
>> find . -name "*$_file" -exec ./convert.sh {} \; ;
>> done
>>
>> (on the example, inc, html, shtml and content are
>> all the files where the change will take effect).
>>
>> I tested here and worked, anyway its better to have
>> a backup of everything :)
>
>
>
>
Get pgp key for bluepee3 at yahoo.com at www.keyserver.net
More information about the mir-coders
mailing list