--- parser3/tests/httpd/site/httpd.p 2024/10/20 23:34:07 1.1 +++ parser3/tests/httpd/site/httpd.p 2024/12/28 16:01:35 1.2 @@ -7,7 +7,15 @@ partial @config[cfg] $result[ $cfg - $.auth[ $.url[^^/index.html^$] $.login[auth] $.password[test] $.realm[auth test] ] + ^if($request:path eq "/index.html"){ + $.auth[ $.url[^^/index.html^$] $.login[auth] $.password[test] $.realm[auth test] ] + } + ^if($request:path ne "/a b/"){ + $.404[/404.html] + } + ^if(^request:path.left(7) eq "/broken"){ + $.deny[] + } ] @preprocess[return]