Tape - Tape stuff to the Web
Tape is a simple Web server which will serve up a directory of files and do simple proxying. It is quite handy when developing Web applications that do not depend on application servers.
Installation and Dependencies
Tape is built on top of Python and Twisted. It should work on versions of Twisted from 2.5 onward. If you have OS X, you already have both of these.
To install Tape, place the
tape executable somewhere in your path.
- Find a directory you wish to serve.
- Browse to [http://localhost:8273] to see the result.
tape -P /xmpp-httpbind=http://localhost:5280/xmpp-httpbind
Now your normal files and your reverse proxies are all taken care of without ever touching Apache or Nginx configuration files!
Tape allows you to override its configuration in several ways. It will look at things in order, and options set in later steps override previous ones.
- It checks ~/.taperc
- It checks .taperc (in the current directory)
- It checks the configuration file given on the commandline with
- It checks all the command line options
taperc.example to see how taperc files are constructed.