Description

wget and other spiders can not get docbook xml rendering by default

Steps to reproduce

  1. Create a 1.7.0 beta wiki
  2. Use wget to retrieve http://127.0.0.1/wiki/FrontPage?action=RenderAsDocbook

Example

Output:

$ wget http://127.0.0.1/docbookwiki/FrontPage?action=RenderAsDocbook
--10:16:18--  http://127.0.0.1/docbookwiki/FrontPage?action=RenderAsDocbook
           => `FrontPage?action=RenderAsDocbook'
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 403 FORBIDDEN
10:16:19 ERROR 403: FORBIDDEN.

Component selection

Details

MoinMoin Version

Release 1.7.0beta1 [Revision release]

OS and Version

Linux 2.6.24.5-85.fc8 (Fedora 8)

Python Version

2.5.1 (r251:54863, Oct 30 2007, 13:54:11) [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)]

Server Setup

Apache2 from rpm

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

You can use the --user-agent="..." option to override the User-Agent header for wget.

Alternatively you can configure your Wiki not to treat wget as a spider, overriding the ua_spiders configuration variable (see MoinMoinBugs/SpidersCanOnlyViewPages)

Discussion

That's not a bug. On default noone wants to have spiders. If one wants to get nuked down he can enable a spider tool. -- ReimarBauer 2008-05-08 14:43:35

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/SpidersCanNotRenderAsDocbook (last edited 2008-05-08 14:43:35 by ReimarBauer)