Domtool Module Apache_alias

Basic Apache URL handling


extern val alias : location -> readable_path -> [Vhost]
extern val scriptAlias : location -> your_path -> [Vhost]
extern val fastScriptAlias : location -> your_path -> [Vhost]
extern val errorDocument : no_spaces -> no_newlines -> [^Vhost]

extern val alias : location -> readable_path -> [Vhost]

All requests for the location should be served from the path.

extern val scriptAlias : location -> your_path -> [Vhost]

Like alias, for Apache's ScriptAlias

extern val fastScriptAlias : location -> your_path -> [Vhost]

Like scriptAlias, but instead sets the location to be served by a single-threaded fastcgi program. Apache will manage processes so the script must be able to cope with several instances running.

extern val errorDocument : no_spaces -> no_newlines -> [^Vhost]

The first argument specifies an HTTP error code, which should be handled using the second argument, which is either a URL or a string to display.