HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e322749
)
Fix some Apache types
author
Adam Chlipala
<adamc@hcoop.net>
Thu, 6 Dec 2007 02:19:19 +0000
(
02:19
+0000)
committer
Adam Chlipala
<adamc@hcoop.net>
Thu, 6 Dec 2007 02:19:19 +0000
(
02:19
+0000)
lib/apache.dtl
patch
|
blob
|
blame
|
history
diff --git
a/lib/apache.dtl
b/lib/apache.dtl
index
db9dc37
..
9ad396a
100644
(file)
--- a/
lib/apache.dtl
+++ b/
lib/apache.dtl
@@
-49,16
+49,16
@@
context Location;
extern type location;
{{A valid URI prefix}}
extern type location;
{{A valid URI prefix}}
-extern val location : location -> Vhost & Location => [Vhost & !Location];
+extern val location : location ->
^
Vhost & Location => [Vhost & !Location];
extern val directory : your_path -> ^Vhost & Location => [Vhost & !Location];
{{Set some configuration specific to a URI prefix or filesystem directory,
respectively.}}
extern val directory : your_path -> ^Vhost & Location => [Vhost & !Location];
{{Set some configuration specific to a URI prefix or filesystem directory,
respectively.}}
-extern val serverAliasHost : your_domain_host -> [Vhost];
+extern val serverAliasHost : your_domain_host -> [Vhost
& !Location
];
{{Give an alternate hostname for this vhost.}}
{{Give an alternate hostname for this vhost.}}
-extern val serverAlias : host -> [Vhost];
+extern val serverAlias : host -> [Vhost
& !Location
];
{{Like serverAliasHost, but adds an alias for the given hostname at every domain
being configured.}}
{{Like serverAliasHost, but adds an alias for the given hostname at every domain
being configured.}}
-extern val serverAliasDefault : [Vhost];
+extern val serverAliasDefault : [Vhost
& !Location
];
{{Like serverAliasDefault, but adds aliases for the domains being configured
instead of any of their hosts/"subdomains".}}
{{Like serverAliasDefault, but adds aliases for the domains being configured
instead of any of their hosts/"subdomains".}}