| 1 | {{Per-directory options for Apache}} |
| 2 | |
| 3 | extern type apache_option; |
| 4 | {{See <a href="http://httpd.apache.org/docs/2.2/mod/core.html#options">the |
| 5 | Apache documentation</a> for what the options mean.}} |
| 6 | |
| 7 | extern val execCGI : apache_option; |
| 8 | extern val followSymLinks : apache_option; |
| 9 | extern val includesNOEXEC : apache_option; |
| 10 | extern val indexes : apache_option; |
| 11 | extern val multiViews : apache_option; |
| 12 | |
| 13 | extern val options : [apache_option] -> [^Vhost]; |
| 14 | {{Declare exactly the set of options in effect for the current scope.}} |
| 15 | |
| 16 | extern val set_options : [apache_option] -> [^Vhost]; |
| 17 | extern val unset_options : [apache_option] -> [^Vhost]; |
| 18 | {{Specify some options to be set or unset, leaving the rest as they are.}} |
| 19 | |
| 20 | extern val directoryIndex : [no_spaces] -> [^Vhost]; |
| 21 | {{Give the list of filenames to try for the default page of a directory, to be |
| 22 | considered in the order given.}} |
| 23 | |
| 24 | extern val forceType : no_spaces -> [Location]; |
| 25 | extern val forceTypeOff : [Location]; |
| 26 | {{Force all files in the current directory to be served with the given MIME |
| 27 | type.}} |
| 28 | |
| 29 | extern val action : no_spaces -> location -> [^Vhost]; |
| 30 | {{See <a href="http://httpd.apache.org/docs/2.2/mod/mod_actions.html#action">the |
| 31 | Apache documentation</a>.}} |
| 32 | |
| 33 | extern val addDefaultCharset : no_spaces -> [^Vhost]; |
| 34 | {{See <a href="http://httpd.apache.org/docs/2.2/mod/core.html#adddefaultcharset">the |
| 35 | Apache documentation</a>.}} |
| 36 | |
| 37 | extern type file_extension; |
| 38 | extern val cgiExtension : file_extension -> [^Vhost]; |
| 39 | {{Ask for all files ending in a particular extension to be executed as CGI.}} |