ref: 3a8421bf641003650050e1135ad453de46237621
parent: 14dbbf164695d3130c34a4fb85a52a98340a94ca
author: uriel <[email protected]>
date: Wed Dec 24 07:18:05 EST 2008
Move app handler before default dir listing handler
--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -190,13 +190,13 @@
if not if(test -f $body.txt)
set_handler txt_handler $body.txt
- # Dir listing
- if not if(~ $body */index)
- set_handler dir_listing_handler $body
-
# Apps
if not if(! ~ $#enabled_apps 0 && select_apps)
set_handler app_handler
+
+ # Dir listing
+ if not if(~ $body */index)
+ set_handler dir_listing_handler $body
# File not found
if not {