Ticket #69 (accepted todo)

Opened 3 years ago

Last modified 2 years ago

let 404 'not found' link to the 'create' action

Reported by: ct Owned by: mridkash
Priority: normal Milestone:
Component: uwiki Keywords: uwiki apache
Cc: Blocked By:
Blocking:

Description

when a wiki page is not found the wiki shall redirect to a which offers the user to create such a page. Provide a example apache config for this setup

Change History

comment:1 Changed 2 years ago by mridkash

  • Owner set to mridkash
  • Status changed from new to accepted

thats easy, add this directive to apache config

#ErrorDocument 404 /cgi-bin/uwiki/untitled.html?action=create

This will show a create page to user with filename same as the link referred to (the link being referred will be captured from the referrer header).

comment:2 Changed 2 years ago by ct

  • Keywords uwiki apache added
Note: See TracTickets for help on using tickets.