$ echo "This is a test" > /tmp/1/2/test $ curl http://localhost:9999/1/2/test This is a test $ curl http://localhost:9999/1/2/test/this/is/pathinfo This is a test $ curl http://localhost:9999/1/2/test.no -D - | grep HTTP HTTP/1.1 404 Not Found
The List & Send (`common` internally) handler behavior depends on whether it replies a request for a directory or a file.
In case a directory is requested, it will use the Listing Only handler in order to list its contents. And, in case a file is request, it will use the File Sending handler.
Parameters | Type | Description |
---|---|---|
PathInfo | boolean | Makes the handler to stop parsing the pathinfo string. Default: Disabled. |
Besides, it inherits all the parameters from the file/Static Content and dirlist/Only listing handlers.
$ echo "This is a test" > /tmp/1/2/test $ curl http://localhost:9999/1/2/test This is a test $ curl http://localhost:9999/1/2/test/this/is/pathinfo This is a test $ curl http://localhost:9999/1/2/test.no -D - | grep HTTP HTTP/1.1 404 Not Found
This configuration
will return something like