summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doku.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index 34e95ccbe..cc6d9e0f5 100644
--- a/doku.php
+++ b/doku.php
@@ -56,7 +56,9 @@
}
//send 404 for missing pages if configured
- if($conf['send404'] && !$INFO['exists']){
+ if($conf['send404'] &&
+ ($ACT == 'show' || substr($ACT,0,7) == 'export_') &&
+ !$INFO['exists']){
header('HTTP/1.0 404 Not Found');
}