version 1.13, 2003/01/13 22:01:32
|
version 1.17, 2004/12/21 18:37:22
|
Line 1
|
Line 1
|
<!DOCTYPE piml PUBLIC "-//TUX/DTD piml 1.0 Final//EN" |
<!DOCTYPE piml PUBLIC "-//TUX/DTD piml 1.0 Final//EN" |
"http://lpml.sourceforge.net/DTD/piml.dtd"> |
"http://lpml.sourceforge.net/DTD/piml.dtd"> |
<!-- webserver.piml --> |
<!-- webserver.piml --> |
<!-- Scott Harrison --> |
|
|
|
<!-- $Id$ --> |
<!-- $Id$ --> |
|
|
Line 53 http://www.lon-capa.org/
|
Line 52 http://www.lon-capa.org/
|
<perlscript mode='fg'> |
<perlscript mode='fg'> |
# Generated from doc/loncapafiles/webserver.piml |
# Generated from doc/loncapafiles/webserver.piml |
unless (-e "<TARGET />") { |
unless (-e "<TARGET />") { |
print 'ERROR! httpd.conf should exist! Are you missing the Apache '. |
print '**** ERROR! /etc/httpd/conf/httpd.conf should exist! Are you missing the Apache '. |
'software package?'; |
'software package?'; |
exit(1); |
exit(1); |
} |
} |
Line 105 else {
|
Line 104 else {
|
# Generated from doc/loncapafiles/webserver.piml |
# Generated from doc/loncapafiles/webserver.piml |
# Trying to check for overlapping DocumentRoot or ScriptAlias definitions. |
# Trying to check for overlapping DocumentRoot or ScriptAlias definitions. |
unless (-e "<TARGET />") { |
unless (-e "<TARGET />") { |
print '**** ERROR **** httpd.conf should exist! Are you missing the Apache '. |
print '**** ERROR **** /etc/httpd/conf/httpd.conf should exist! Are you missing the Apache '. |
'software package?'; |
'software package?'; |
exit(1); |
exit(1); |
} |
} |
Line 132 else {
|
Line 131 else {
|
} |
} |
close(IN); |
close(IN); |
if ($scriptalias_flag==1) { |
if ($scriptalias_flag==1) { |
print('**** ERROR **** httpd.conf has an overlapping definition of '. |
print('**** ERROR **** /etc/httpd/conf/httpd.conf has an overlapping definition of '. |
'ScriptAlias (it is incorrectly set to '.$scriptalias.').'."\n". |
'ScriptAlias (it is incorrectly set to '.$scriptalias.').'."\n". |
'This conflicts with loncapa_apache.conf.'."\n"); |
'This conflicts with loncapa_apache.conf.'."\n"); |
} |
} |
if ($documentroot_flag==1) { |
if ($documentroot_flag==1) { |
print('**** ERROR **** httpd.conf has an overlapping definition of '. |
print('**** ERROR **** /etc/httpd/conf/httpd.conf has an overlapping definition of '. |
'DocumentRoot (it is incorrectly set to '.$documentroot.').'."\n". |
'DocumentRoot (it is incorrectly set to '.$documentroot.').'."\n". |
'This conflicts with loncapa_apache.conf.'."\n"); |
'This conflicts with loncapa_apache.conf.'."\n"); |
} |
} |
if ($documentroot_flag==1 or $scriptalias_flag==1) { |
|
exit(1); |
|
} |
|
} |
} |
</perlscript> |
</perlscript> |
</file> |
</file> |