Diff for /parser3/etc/auto.p.in between versions 1.10 and 1.18

version 1.10, 2021/01/20 10:51:10 version 1.18, 2024/12/28 14:00:52
Line 18  $response:content-type[ Line 18  $response:content-type[
   
 @conf[filespec]  @conf[filespec]
 $confdir[^file:dirname[$filespec]]  $confdir[^file:dirname[$filespec]]
 $charsetsdir[$confdir/charsets]  $charsetsdir[@datarootdir@/charsets]
 $sqldriversdir[$confdir/lib]  $sqldriversdir[@libdir@]
   
 $CHARSETS[  $CHARSETS[
 #       $.cp866[$charsetsdir/cp866.cfg]  #       $.cp866[$charsetsdir/cp866.cfg]
Line 96  zip application/zip Line 96  zip application/zip
 }]  }]
   
 $LIMITS[  $LIMITS[
         $.post_max_size(10*0x400*0x400)          $.post_max_size(64*0x400*0x400)
   #       $.max_file_size(512*0x400*0x400)
   #       $.max_loop(100000)
   #       $.max_array(1000000)
   #       $.max_recursion(1000)
 ]  ]
   
 #$HTTPD[  #$HTTPD[
Line 164  $result(def $env:REMOTE_ADDR && ^env:REM Line 168  $result(def $env:REMOTE_ADDR && ^env:REM
 }{  }{
         ^if($exception.type eq "file.missing"){          ^if($exception.type eq "file.missing"){
 #               $response:location[/404/]  #               $response:location[/404/]
                 $response:status(404)                  ^httpd:404[]
         }{          }{
                 ^unhandled_exception_release[$exception;$stack]                  ^unhandled_exception_release[$exception;$stack]
         }          }
Line 212  $line[$env:REMOTE_ADDR [^now.sql-string[ Line 216  $line[$env:REMOTE_ADDR [^now.sql-string[
 $response:status[404]  $response:status[404]
 The requested URL was not found on this server.  The requested URL was not found on this server.
   
   @config[result]
   
 @preprocess[return]  @preprocess[return]
   
   
Line 219  The requested URL was not found on this Line 225  The requested URL was not found on this
   
 #$request:document-root[/website/folder]  #$request:document-root[/website/folder]
   
 $cfg[  $cfg[^config[
         $.parser[\.(html)^$]          $.parser[\.(html)^$]
         $.index[index.html]          $.index[index.html]
 #       $.autoindex(true)  #       $.autoindex(true)
Line 231  $cfg[ Line 237  $cfg[
         $.403[Permission denied]          $.403[Permission denied]
         $.memory(64000)          $.memory(64000)
 #       $.log[/access.log]  #       $.log[/access.log]
 ]  ]]
   
 $response:server[Parser$env:PARSER_VERSION]  $response:server[Parser$env:PARSER_VERSION]
 $response:date[^date::now[]]  $response:date[^date::now[]]
 $response:connection[close]  $response:connection[close]
 $uri[^request:uri.match[\?.*][]{}]  $uri[$request:path]
 $uri[^string:unescape[uri;$uri; $.charset[UTF-8] ]]  
   
 ^if(def $cfg.log){  ^if(def $cfg.log){
         ^log[$cfg.log]          ^log[$cfg.log]

Removed from v.1.10  
changed lines
  Added in v.1.18


E-mail: