![]() PasHyPerĪccept wildcards in aliases section. In this case you must indicate the file extension (pashyper selects media type based on file extension). htm, but the file may be a image, a video, a To indicate to pashyper how file it process. * The parameter filename is used in following way: Readme=/home/carlos/programming/HTML/pashyper/readme.htm * ![]() logfile=/home/carlos/programming/pashyper/temp/logs.txt Tempdir=/home/carlos/programming/pashyper/temp Sessions=/home/carlos/programming/pashyper/sessions Uploaded=/home/carlos/programming/pashyper/uploaded To disable the aliases (global processor), write in root section ignorealiases=yes (1, si, sim, true)ĭirectory=/home/carlos/programming/pashyper/ The aliases, for now, overrides the root directory declared into root section. For now, just full string is translated (i.e., noĬompare is made with substring). Healthplan01=/home/mydocs/health/plans/01/page.htm, when PasHyPer found healthplan01Īs parameter to filename * it will replace by the indicated value. In aliases section you can put aliases that will be replaced by the indicated value. Lib in mysql section to pointer to mysql client library file (just the file name). To indicate a directory as "/" directory path in mysql section to indicate mysql client library path (without file name) The sections possible for now are root, aliases and mysql. # Line commented is started by a "#" or a " " The pashyper.ini is a plain text file, with sections, keys and values, in format: If you use MySQL, you must write the config file. The pashyper.ini file must be placed into PasHyPer directory. In the Edit Feature Permissions Box, choose read, script, execute Īppcmd set config /section:handlers /+ Īppcmd set config /section:handlers /accessPolicy:Read,Script,Execute.Choose Request Restrictions with settings: mapping file or folder verbs GET, HEAD, POST access Script.Fill PASHYPER path, extension is *.pp, module is CgiModule, name maybe pascal, pashyper.Choose Handler Mappings and add Script Map.To integrate PasHyPer with IIS, take the steps in IIS manager interface: PasHyPer, for now, don't have module to IIS. You need find CGI directory in nf file and replace it with lines below. If you not yet setup the CGI directory, then put the following lines into nf: ppĪction application/x-httpd-pas "/pas/pashyper" ScriptAlias /pas/ "" (ex: "c:/pashyper/")ĪddHandler application/x-httpd-pas. To do this, you need put into file nf four lines: But some integration may be using the file nf. PasHyPer, for now, don't have a module to Apache. The date values may be different of FPC/Delphi values. ![]() PasHyPer handle date like FPC and Delphi/Kylix: it's a real value. An alias can override the path to directory root. Refere to file or directory into think root directory as "/". If you declare as directory root in pashyper.ini the string /home/carlos/pashyper/site01 and changes theĭirectory with chdir to /home/carlos/pashyper/anotherdirectory will generate a error. It changes to a directory into directory root declared into pashyper.ini Because this limit, you must write small libraries. PasHyPer file include is limited to 36KB for now. PasHyPer supports just two directive (for now): $INCLUDE and $DEFINE. PasHyPer just supports comments in Borland way ( ) and slashes ( //comment). This is a decision not a limitation (except downloaded files). Only text files is available for read/write. The size of uploaded files is limited to space in disk or space quote. PasHyPer manage uploads files, but need the programmer to pointer the directory of uploaded files with chdir procedure. PasHyPer have a unique cgi function ( cgi_getenv) that retrieves all the values of pages server. PasHyPer can run a enough set of functions and procedures of standard pascal and some functions to connection with The size of string is 1024 bytes for now. Is a pointer to bytes managed by itself PasHyPer. PasHyPer supports the types integer, real, string, boolean and char. Reserved Words are the same of standard pascal, but not yet supports set, downto, array, record, type and PasHyPer supports a subset of standard pascal and is missing several wanted improvements. PasHyPer was compiled with FPC - FreePascal Compiler. ![]() Help us to build a Pascal Hypertext Preprocessor. Why pascal is out of web as script language? I don´t know! Pascal is a very popular programming language because it´s clean, easy and readable. On found a pascal program, the preprocessor compiles and run the script. The preprocessor works reading a HTML page and finding for pascal programs into this page. PasHyPer is a Pascal Hypertext Preprocessor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |