vsemionov / indigo-filer Goto Github PK
View Code? Open in Web Editor NEWA simple web server for static content
License: BSD 2-Clause "Simplified" License
A simple web server for static content
License: BSD 2-Clause "Simplified" License
GENERAL NOTES Indigo Filer can serve a virtual root directory that is composed of zero or more shares. This "virtual" root directory, that clients see, is not a real directory on the filesystem. Its entries are user-specified shares, which do not have to be located in the same parent directory. A share can be any filesystem object (file, directory, etc.). Every share has a unique name and a path. Shared objects do not need to exist on the filesystem - in that case they do not appear in listings, and requests for them result in error responses. Shares are specified as settings in the [VirtualRoot] section in the configuration file with the following format: <share-name> = <share-path> Share names may not contain the '/' character. Share names may be percent-encoded, which is necessary for the '.' character. Share paths may be percent-encoded too. NOTE: If Server.root is set to a filesystem path, the root directory listing will contain entries of the real root, but requests with an URI other than "/" that match a share name will be served from the matching share. KNOWN ISSUES * A limitation in the POCO library prevents idle threads from being signaled to terminate if a high connection rate suddenly drops to zero. This may happen on a lightly loaded server after a short burst of requests. Normally, this should not be a problem, because this is only a temporary condition and the idle threads are terminated when new connections arrive. Also, the idle threads do not consume CPU time or large amounts of memory. To work around this, you can use the Server.collectIdleThreads option by setting it to "yes". This is safe and works in most cases, but is disabled by default, because it uses undocumented behavior. Try enabling this option if the process often has a large number of threads when new connections are not arriving. CONFIGURATION The configuration is split into several files: * indigo-filer.ini - general server settings * mime.types.user - user defined MIME types The most common general settings and their defaults are provided with the stock indigo-filer.ini file that comes with the distribution. Less common settings are not listed there by default. They are shown below. Here is the list of undocumented settings: * Server.maxKeepaliveRequests - max keepalive requests per thread; default: 0 * Server.idleTime - max thread idle time, in seconds; default: 60 * Server.threadIdleTime - internal POCO-specific, in seconds; default: 10 * Server.collectIdleThreads - see the known issues section above; default: no
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.