[MKDoc-commit] [1.6] [gt] install with MKDoc::Apache_Cache by default

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed Dec 8 13:25:46 GMT 2004


Log Message:
-----------
[1.6] [gt] install with MKDoc::Apache_Cache by default

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/conf:
        example.com.conf
    mkd/tools:
        install-details-gt.pl

-------------- next part --------------
Index: example.com.conf
===================================================================
RCS file: /var/spool/cvs/mkd/conf/example.com.conf,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -Lconf/example.com.conf -Lconf/example.com.conf -u -r1.3.2.1 -r1.3.2.2
--- conf/example.com.conf
+++ conf/example.com.conf
@@ -182,7 +182,11 @@
   # directives for mod_perl
   PerlSetEnv PERL5LIB /usr/local/mkdoc-1.6/cgi
   SetHandler perl-script
-  PerlHandler Apache::Registry
+  #PerlHandler Apache::Registry
+  PerlSetEnv  MKDoc_Apache_Cache_CONFIG     /usr/local/mkdoc-1-6/conf/cache_policy.conf
+  PerlSetEnv  MKDoc_Apache_Cache_CACHE_ROOT %site_dir%/cache
+  PerlSetEnv  MKDoc_Apache_Cache_NAMESPACE  apache_cache_gz
+  PerlHandler MKDoc::Apache_Cache
   PerlSendHeader On
 
   # directives for CGI. These should work everywhere
Index: install-details-gt.pl
===================================================================
RCS file: /var/spool/cvs/mkd/tools/install-details-gt.pl,v
retrieving revision 1.21.2.22
retrieving revision 1.21.2.23
diff -Ltools/install-details-gt.pl -Ltools/install-details-gt.pl -u -r1.21.2.22 -r1.21.2.23
--- tools/install-details-gt.pl
+++ tools/install-details-gt.pl
@@ -295,6 +295,7 @@
 }
 $most_domain->mod_perl(1);
 my $most_home = $most_domain->home;
+make_dir ("$most_home/cache");
 my $conf_dir = "$most_home/httpd";
 my $most_conf = "$most_home/modperl.conf";
 open my $fh, $most_conf


More information about the MKDoc-commit mailing list