Re: New site - mirroring issues
От | Alexey Borzov |
---|---|
Тема | Re: New site - mirroring issues |
Дата | |
Msg-id | 41C18B8A.3030104@cs.msu.su обсуждение исходный текст |
Ответ на | Re: New site - mirroring issues ("Dave Page" <dpage@vale-housing.co.uk>) |
Список | 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.
В списке pgsql-www по дате отправления: