| 1 | {{Basic Apache URL handling}} |
| 2 | |
| 3 | extern val alias : location -> readable_path -> [Vhost]; |
| 4 | {{All requests for the location should be served from the path.}} |
| 5 | |
| 6 | extern val scriptAlias : location -> your_path -> [Vhost]; |
| 7 | {{Like <tt>alias</tt>, for Apache's <tt>ScriptAlias</tt>}} |
| 8 | |
| 9 | extern val fastScriptAlias : location -> your_path -> [Vhost]; |
| 10 | {{Like <tt>scriptAlias</tt>, but instead sets the location to be |
| 11 | served by a single-threaded fastcgi program. Apache will manage |
| 12 | processes so the script must be able to cope with several instances |
| 13 | running.}} |
| 14 | |
| 15 | extern val errorDocument : no_spaces -> no_newlines -> [^Vhost]; |
| 16 | {{The first argument specifies an HTTP error code, which should be handled using |
| 17 | the second argument, which is either a URL or a string to display.}} |