Re: New site - mirroring issues

From: Alexey Borzov <borz_off(at)cs(dot)msu(dot)su>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: PostgreSQL WWW Mailing List <pgsql-www(at)postgresql(dot)org>
Subject: Re: New site - mirroring issues
Date: 2004-12-16 13:20:10
Message-ID: 41C18B8A.3030104@cs.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Hi,

Dave Page wrote:
>>>1) Static versions of 'about/casestudies' and
>>
>>'developer/profiles' are
>>
>>>not being generated for some reason. Nothing obvious appears in the
>>>logs. Any ideas on that one Alexey?
>>
>>::shrug::
>>Where are they linked from?
>
> http://wwwmaster.postgresql.org/about (fourth option in the left side
> menu)
> http://wwwmaster.postgresql.org/developer (second option in the left
> side menu)

OK, don't see anything obviously wrong with the links. I'll probably try
running the mirroring script myself tomorrow to understand the source of
this problem.

>>Yep, your diagnosis is most probably right. The easiest way
>>is to change
>>links from docs/manuals to docs/manuals/, then spider will save
>>docs/manuals/index.html and everything will work as expected.
>
>
> Nah, it's the other way round - it /is/ trying to save
> docs/manuals/index.html, it /should/ be trying to save docs/manuals.html
>
> I would think the easy fix is to move docs/manuals.html to
> docs/manuals/index.html etc?

Once again: you can't have both foo.html and directory foo/ on a static
mirror. Therefore you need only to get directory foo/ and an index.html
file within it. To achieve this, you *only* need to change links on
dynamic website from foo to foo/. You don't need to touch or rename the
foo.html template itself.

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Dave Page 2004-12-16 13:33:20 Re: New site - mirroring issues
Previous Message Dave Page 2004-12-16 12:58:26 Re: New site - final(?) list of problems