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 some directories not only current directory
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] [-p PORT_NUMBER] [-d DOCUMENT_DIR] [-v] [--protocol PROTOCOL] [--servertype {process,thread}] [--version] optional arguments: -h, --help show this help message and exit -p PORT_NUMBER, --port PORT_NUMBER set server port number -d DOCUMENT_DIR, --dir DOCUMENT_DIR set some document directories -v, --verbose set verbose mode --protocol PROTOCOL set protocol --servertype {process,thread} set server type --version show program version
ChangeLog
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.0.tar.gz
(8.1 kB
view hashes)