Server Scripts
- Scripts provide the possibility of dynamic documents
- Scripts have many potentials, for example search,
posting, URI translation
- The CERN server supports full
CGI-Interface
- General rules for scripts:
- Use
Exec
rule for specific scripts, for example
finger
- Use
Search
, POST-script
,
PUT-script
, DELETE-script
for general
scripts. They are required for support of Search,
POST, PUT, and DELETE
- The scripts must have execute permissions for the server
- The shell must be specified in the first line, for example
#! /bin/sh
- Script output must include a
content-type
Henrik Frystyk and Carlos Varela, October 17 1994