Domtool Module Urls

Basic Apache URL handling


extern val alias : location -> readable_path -> [Vhost]
extern val scriptAlias : 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 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.