Annotation of doc/loncapafiles/webserver.piml, revision 1.1

1.1     ! harris41    1: <!-- webserver.piml -->
        !             2: <!-- Scott Harrison -->
        !             3: 
        !             4: <!-- $Id$ -->
        !             5: 
        !             6: <!--
        !             7: 
        !             8: Copyright Michigan State University Board of Trustees
        !             9: 
        !            10: This file is part of the LearningOnline Network with CAPA (LON-CAPA).
        !            11: 
        !            12: LON-CAPA is free software; you can redistribute it and/or modify
        !            13: it under the terms of the GNU General Public License as published by
        !            14: the Free Software Foundation; either version 2 of the License, or
        !            15: (at your option) any later version.
        !            16: 
        !            17: LON-CAPA is distributed in the hope that it will be useful,
        !            18: but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            19: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            20: GNU General Public License for more details.
        !            21: 
        !            22: You should have received a copy of the GNU General Public License
        !            23: along with LON-CAPA; if not, write to the Free Software
        !            24: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
        !            25: 
        !            26: /home/httpd/html/adm/gpl.txt
        !            27: 
        !            28: http://www.lon-capa.org/
        !            29: 
        !            30: -->
        !            31: 
        !            32: <!-- Default values must be defined before specific values. -->
        !            33: <!-- If no 'dist' attribute is specified, then it is always installed. -->
        !            34: <!-- If 'dist' attribute is set to  'default', then the specification. -->
        !            35: <!-- is accepted if an alternative distribution is not requested or not -->
        !            36: <!-- defined. -->
        !            37: 
        !            38: <piml>
        !            39: <targetroot>/</targetroot>
        !            40: <files>
        !            41: <file>
        !            42: <target dist='default'>/etc/httpd/conf/httpd.conf</target>
        !            43: <note>This is always expected for any version of Apache</note>
        !            44: <dependencies dist='default'>
        !            45: /etc/httpd/conf/httpd.conf
        !            46: </dependencies>
        !            47: <perlscript mode='fg'>
        !            48: unless (-e "<TARGET />") {
        !            49: 	print 'ERROR! httpd.conf should exist! Are you missing the Apache '.
        !            50: 		'software package';
        !            51: }
        !            52: else {
        !            53: 	open OUT,"&gt;&gt;<TARGET />";
        !            54: 	print OUT 'Include srm.conf'."\n";
        !            55: 	print OUT 'Include access.conf'."\n";
        !            56: 	close OUT;
        !            57: }
        !            58: </perlscript>
        !            59: </file>
        !            60: <file>
        !            61: <target dist='default'>/etc/httpd/conf/access.conf</target>
        !            62: <note>This may or may not exist on a system depending on the version of
        !            63: Apache</note>
        !            64: <status>unverified</status>
        !            65: <dependencies dist='default'>
        !            66: /etc/httpd/conf/access.conf
        !            67: </dependencies>
        !            68: <perlscript mode='fg'>
        !            69: open OUT,"&gt;&gt;<TARGET />";
        !            70: print OUT 'Include loncapa.conf'."\n";
        !            71: close OUT;
        !            72: </perlscript>
        !            73: </file>
        !            74: <file>
        !            75: <target dist='default'>/etc/httpd/conf/srm.conf</target>
        !            76: <note>This may or may not exist on a system depending on the version of
        !            77: Apache</note>
        !            78: <status>unverified</status>
        !            79: <dependencies dist='default'>
        !            80: /etc/httpd/conf/srm.conf
        !            81: </dependencies>
        !            82: <perlscript mode='fg'>
        !            83: open OUT,"&gt;&gt;<TARGET />";
        !            84: print OUT 'Include loncapa.conf'."\n";
        !            85: close OUT;
        !            86: </perlscript>
        !            87: </file>
        !            88: </files>
        !            89: </piml>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>