version 1.20, 2006/09/15 21:02:15
|
version 1.25, 2009/07/14 04:11:11
|
Line 46 http://www.lon-capa.org/
|
Line 46 http://www.lon-capa.org/
|
<file> |
<file> |
<target dist='default'>/etc/httpd/conf/httpd.conf</target> |
<target dist='default'>/etc/httpd/conf/httpd.conf</target> |
<target dist='suse9.2 suse9.3 sles9'>/etc/httpd/httpd.conf</target> |
<target dist='suse9.2 suse9.3 sles9'>/etc/httpd/httpd.conf</target> |
<target dist='sles10'>/etc/apache2/default-server.conf</target> |
<target dist='sles10 suse10.1 suse10.2 suse10.3 suse11.1'>/etc/apache2/default-server.conf</target> |
<note>This is for Apache 1.X for Red Hat, Fedora 2,3 and 4, and SusSE 9.2, 9.3 and SLES 9 distributions. This is for Apache 2.X for Fedora 5 and SuSE 10.1 and SLES 10 distribtions</note> |
<target dist='debuan5 ubuntu6 ubuntu8'>/etc/apache2/sites-available/loncapa |
|
<note>This is for Apache 1.X for Red Hat, Fedora 2,3 and 4, and SusSE 9.2, 9.3 and SLES 9 distributions. This is for Apache 2.X for Fedora 5 and later, and SuSE 10.X, 11.X and SLES 10 distributions, and Debian 5, Ubuntu 6 and Ubuntu 8 LTS distributions</note> |
<dependencies dist='default'> |
<dependencies dist='default'> |
/etc/httpd/conf/httpd.conf |
/etc/httpd/conf/httpd.conf |
</dependencies> |
</dependencies> |
<dependencies dist='suse9.2 suse9.3 sles9'> |
<dependencies dist='suse9.2 suse9.3 sles9'> |
/etc/httpd/httpd.conf |
/etc/httpd/httpd.conf |
</dependencies> |
</dependencies> |
<dependencies dist='sles10'> |
<dependencies dist='debian5 ubuntu6 ubuntu8'> |
|
/etc/apache2/sites-available/loncapa |
|
</dependencies> |
|
<dependencies dist='sles10 suse10.1 suse10.2 suse10.3 suse11.1'> |
/etc/apache2/default-server.conf |
/etc/apache2/default-server.conf |
</dependencies> |
</dependencies> |
<perlscript mode='fg' dist="default"> |
<perlscript mode='fg' dist="default"> |
Line 65 unless (-e "<TARGET />") {
|
Line 69 unless (-e "<TARGET />") {
|
exit(1); |
exit(1); |
} |
} |
else { |
else { |
# Append loncapa_apache.conf inclusion to httpd.conf if not present. |
# Append loncapa_apache.conf inclusion to httpd.conf (or sites/available/loncapa) if not present. |
$flag=0; |
$flag=0; |
open(IN,'<<TARGET />'); |
open(IN,'<<TARGET />'); |
while (<IN>) { |
while (<IN>) { |