Annotation of parser3/tests/httpd/site/httpd.p, revision 1.2
1.1 moko 1: @CLASS
2: httpd
3:
4: @OPTIONS
5: partial
6:
7: @config[cfg]
8: $result[
9: $cfg
1.2 ! moko 10: ^if($request:path eq "/index.html"){
! 11: $.auth[ $.url[^^/index.html^$] $.login[auth] $.password[test] $.realm[auth test] ]
! 12: }
! 13: ^if($request:path ne "/a b/"){
! 14: $.404[/404.html]
! 15: }
! 16: ^if(^request:path.left(7) eq "/broken"){
! 17: $.deny[]
! 18: }
1.1 moko 19: ]
20:
21: @preprocess[return]
22: $response:server[Parser3]
23: $response:date[]
E-mail: