Parsing


Any time a file of mime <text/*> is encountered, the server makes this parsing on its LINES:

  1. changes the string <!ip> with the peer name
  2. changes the string <!user> with the user name, if ident is ON, or unknown if ident is OFF
  3. changes the string <!userat> with user@ip, if ident is ON, or ip if ident is OFF
  4. changes the string <!admin> with the string <A HREF="mailto:admin>WebMaster</A>
  5. changes the string <!power> with the string Powered with RxSocket!
  6. changes the string <!ver> with the string hserv/Ver.Rev
  7. changes the string <!hhp> with a link to hserv home page
  8. changes the string <!this> with the current file name. This is usefull in situation like <!REXX function <!this>>
  9. changes the string <!InetDate> with the current date in GMT Internet format
  10. changes the string <!include filename> and <!--#INCLUDE FILE="filename") with the content of filename. Due ARexx strings size limitation filename size must be less then 65536 characters
  11. changes the string <!REXX fun> with the output of the function fun, an ARexx function called on the fly
  12. changes the string <!CGI fun> with the result of the file created by the CGI fun with the first 2 lines discarded

The parsing is made for all but !CGI then for !CGI, but never recursively for !CGI.