Little bit extended SimpleHTTPServer
Project description
What is it?
LittleHTTPServer is intended to extend SimpleHTTPServer a little bit more.
Requirements
Python 2.6 or 3.x and later
Features
Provide an arbitrary directory not only current directory
Provide some Sphinx document directories
Provide selectable SocketServer type, Threading or Forking
Setup
$ easy_install LittleHTTPServer
Quick Start
$ littlehttpserver -v -d path/to/dir1 -d path/to/dir2
You can access dir1 and dir2 via “http://localhost:8000/”.
$ littlehttpserver -h usage: littlehttpserver [-h] [-d DOCUMENT_DIR] [-i INDEX_DIRECTORY] [-p PORT_NUMBER] [-v] [--protocol PROTOCOL] [--servertype {process,thread}] [--version] optional arguments: -h, --help show this help message and exit -d DOCUMENT_DIR, --dir DOCUMENT_DIR set some document directories -i INDEX_DIRECTORY, --indexdir INDEX_DIRECTORY set arbitrary top directory -p PORT_NUMBER, --port PORT_NUMBER set server port number -v, --verbose set verbose mode --protocol PROTOCOL set protocol --servertype {process,thread} set server type --version show program version
ChangeLog
0.1.1 (2012-02-10)
add “-i, –indexdir” option
0.1.0 (2012-02-06)
first release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
LittleHTTPServer-0.1.1.tar.gz
(9.0 kB
view hashes)