Change context requirement for rewriteBase; change CGI principal convention
authorAdam Chlipala <adamc@hcoop.net>
Wed, 6 Jun 2007 16:14:37 +0000 (16:14 +0000)
committerAdam Chlipala <adamc@hcoop.net>
Wed, 6 Jun 2007 16:14:37 +0000 (16:14 +0000)
lib/mod_rewrite.dtl
src/plugins/apache.sml

index 877e1c4..2e29877 100644 (file)
@@ -54,7 +54,7 @@ extern val rewriteCond : no_spaces -> no_spaces -> [mod_rewrite_cond_flag] -> [^
 {{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond">Apache
   documentation for <tt>RewriteCond</tt></a>.}}
 
-extern val rewriteBase : no_spaces -> [^Vhost];
+extern val rewriteBase : no_spaces -> [Location];
 {{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritebase">Apache
   documentation for <tt>RewriteBase</tt></a>.}}
 
index 4a399e8..3266d54 100644 (file)
@@ -445,7 +445,7 @@ val () = Env.containerV_one "vhost"
                                           if isWaklog node then
                                               (TextIO.output (file, "\n\tWaklogProtected on\n\tWaklogPrincipal ");
                                                TextIO.output (file, user);
-                                               TextIO.output (file, "/cgi@HCOOP.NET /etc/keytabs/cgi/");
+                                               TextIO.output (file, "/daemon@HCOOP.NET /etc/keytabs/user.daemon/");
                                                TextIO.output (file, user))
                                           else
                                               ();