[MKDoc-commit] Added Directory stuff to enable ssi for site error docs

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu May 5 11:19:52 BST 2005


Log Message:
-----------
Added Directory stuff to enable ssi for site error docs

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/MKDoc/Site/ConfigWriter:
        Httpd_Conf.pm

-------------- next part --------------
Index: Httpd_Conf.pm
===================================================================
RCS file: /var/spool/cvs/mkd/MKDoc/Site/ConfigWriter/Httpd_Conf.pm,v
retrieving revision 1.1.2.32
retrieving revision 1.1.2.33
diff -LMKDoc/Site/ConfigWriter/Httpd_Conf.pm -LMKDoc/Site/ConfigWriter/Httpd_Conf.pm -u -r1.1.2.32 -r1.1.2.33
--- MKDoc/Site/ConfigWriter/Httpd_Conf.pm
+++ MKDoc/Site/ConfigWriter/Httpd_Conf.pm
@@ -111,13 +111,26 @@
 {
     my $data = <<EOF;
 #Editor: vim:syn=apache
+# This is the file and image uploads directory.
 <Directory $SITE_DIR/static>
     order allow,deny
     allow from all
     AllowOverride none
 </Directory>
 <Directory $MKDOC_DIR/skin>
-    # The next 3 lines enable SSI and MultiViews for error documents
+    # The next 3 lines enable SSI and MultiViews for the default error documents
+    Options Includes MultiViews
+    AddHandler server-parsed .shtml
+    AddType "text/html; charset=UTF-8" .shtml
+    order allow,deny
+    allow from all
+    AllowOverride none
+</Directory>
+# Error documents in the following directory will only be used if the 
+# /.static/css Alias in the httpd.conf file in this directory points to
+# $SITE_DIR/resources/skin 
+<Directory $SITE_DIR/resources/skin>
+    # The next 3 lines enable SSI and MultiViews for site error documents
     Options Includes MultiViews
     AddHandler server-parsed .shtml
     AddType "text/html; charset=UTF-8" .shtml


More information about the MKDoc-commit mailing list