Navigation Menu

Skip to content

jdc8/wubexamples

Repository files navigation

Introduction:
=============

This is a set of examples using the Wub webserver. You can find Wub at Google
Code:

    http://code.google.com/p/wub/

These examples use the SVN Head version.

Requirements to run the examples:
=================================

- Install wub, or a link to it, in this directory in a sub-directory called 'Wub'.

- Install tcllib, or a link to it, in this directory in a subdirectory called
  'tcllib'.

Example 1: A file domain
==========

This example show how to configure Wub to let it serve static files from the
file system path docroot/html with URL /

Example 2: A file domain with rewrites and browsing
==========

This example shows how Wub can be used to browse the file system. Try using URL
/disk.

Files in docroot/html are now mounted on URL /html. A rewrite allows them to be
accessed from /.

Example 3: Mason domain
==========

/mason/example.html
       example.tml

/mason2/.before             : Limit access (forbid using FireFox)

        index.html          : An HTML file
        index.tml           : A template file
	example.tml         : A template file with template text
	example_response.tml: A template file writing settting the response
	query.tml           : A template file processing query arguments A and Q

        .after              : Wrap generated contents

        .notfound           : Report error when request could not be processed

Example 4: Direct namespace and direct object domain
==========

/namespace/default

/object

Example 5: Http commands
==========

/object

Example 6: Forms
==========

/object

Example 7: jQuery
==========

/object

Example 8: Suspend and resume
==========

/object

Example 9: Recaptcha
==========

/object

Example fossil proxy: Making your own domain: a 'fossil http' wrapper
=====================

Example git_cgi: Example of using the CGI domain
================

To do:
======

Cookies

About

Examples using Wub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages