# Example pages

#### Redirect style CGI scripts

- show-vars - obey file that shows all cgi environment variables
- basic - simple script written in BASIC
- obey - simple script written as an obey file
- perl - simple script written in Perl This needs !Perl to work
- php - simple script written in PHP
- info.php - gives information about the PHP options currently set
- webart.php - a more complicated PHP script that generates GIF images

#### WebJames style scripts

- very-small - a small BASIC script
- filer - produces a directory listing of

      ADFS::4.$.Public

- parameters - lists all parameters passed to the script
- query - use the form below to query the cgi script. It is password protected. The username is webjames and the password is wibble

#### ErrorDocument

- themeaningoflife - a non existant file, causes the file /filenotfound.html to be served instead. This was set up in the /cgi-bin2/.htaccess

#### Send-as-is

- moved.asis - a file that contains suitable HTTP headers to redirect the browser back to the index page

#### Content negotiation

- page - Either `page.fr.html`, `page.en.html` or `page.html` will be served, depending on the prefered language specified by the browser. `page.var` contains details of each variant.

#### SSI

- example.shtml - A page containing some server side includes to give some dynamic content.