[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Success converting wiki page to PDF



MoinMoin denied you access when you tried using wget because by default
it is configured to ignore request from a certain number of USER_AGENTS
including wget, as you can see in these lines from 
/usr/lib/python2.3/site-packages/MoinMoin/multiconfig.py :

--------------
    # a regex of HTTP_USER_AGENTS that should be excluded from logging
    # and receive a FORBIDDEN for anything except viewing a page
    ua_spiders = ('archiver|cfetch|crawler|curl|gigabot|google|holmes|htdig|httrack|httpunit|jeeves|larbin|leech|'
                  'linkbot|linkmap|linkwalk|mercator|mirror|msnbot|nutbot|omniexplorer|puf|robot|scooter|'
                  'search|sherlock|sitecheck|spider|teleport|voyager|webreaper|wget')
--------------

To use wget you have to copy this line and add it to your wiki config file in /etc/moin/,
off course excluding wget.

Arthur.

> WIKIURL = http://wiki.skolelinux.de/itil?action=format&mimetype=xml/docbook
> # Fetch using GET from libwww-perl, as the wiki give me access denied
> # when I try to use wget.
> GET "$(WIKIURL)" > $@.new && mv $@.new $@



Reply to: