version 1.35, 2012/10/05 15:36:22
|
version 1.42, 2016/04/10 17:13:00
|
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 sles11 suse10.1 suse10.2 suse10.3 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2'>/etc/apache2/default-server.conf</target> |
<target dist='sles10 sles11 sles12 suse10.1 suse10.2 suse10.3 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2'>/etc/apache2/default-server.conf</target> |
<target dist='debian5 debian6 ubuntu6 ubuntu8 ubuntu10 ubuntu12'>/etc/apache2/sites-available/loncapa</target> |
<target dist='debian5 debian6 ubuntu6 ubuntu8 ubuntu10 ubuntu12'>/etc/apache2/sites-available/loncapa</target> |
|
<target dist='ubuntu14 ubuntu16'>/etc/apache2/conf-available/loncapa</target> |
<note>This is for Apache 1.X for Red Hat 4ES, Fedora 2, 3 and 4, SusSE 9.2 and 9.3, and SLES 9 distributions. This is for Apache 2.X for Fedora 5, Red Hat 5, CentOS 5, Scientific Linux 5, SuSE 10.1, SLES 10, Debian 5, Ubuntu LTS 8 and later distributions</note> |
<note>This is for Apache 1.X for Red Hat 4ES, Fedora 2, 3 and 4, SusSE 9.2 and 9.3, and SLES 9 distributions. This is for Apache 2.X for Fedora 5, Red Hat 5, CentOS 5, Scientific Linux 5, SuSE 10.1, SLES 10, Debian 5, Ubuntu LTS 8 and later distributions</note> |
<dependencies dist='default'> |
<dependencies dist='default'> |
/etc/httpd/conf/httpd.conf |
/etc/httpd/conf/httpd.conf |
Line 58 http://www.lon-capa.org/
|
Line 59 http://www.lon-capa.org/
|
<dependencies dist='debian5 debian6 ubuntu6 ubuntu8 ubuntu10 ubuntu12'> |
<dependencies dist='debian5 debian6 ubuntu6 ubuntu8 ubuntu10 ubuntu12'> |
/etc/apache2/sites-available/loncapa |
/etc/apache2/sites-available/loncapa |
</dependencies> |
</dependencies> |
<dependencies dist='sles10 sles11 suse10.1 suse10.2 suse10.3 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2'> |
<dependencies dist='ubuntu14 ubuntu16'> |
|
/etc/apache2/conf-available/loncapa |
|
</dependencies> |
|
<dependencies dist='sles10 sles11 sles12 suse10.1 suse10.2 suse10.3 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2'> |
/etc/apache2/default-server.conf |
/etc/apache2/default-server.conf |
</dependencies> |
</dependencies> |
<perlscript mode='fg' dist="default"> |
<perlscript mode='fg' dist="default"> |
Line 70 unless (-e "<TARGET />") {
|
Line 74 unless (-e "<TARGET />") {
|
} |
} |
else { |
else { |
# Append loncapa_apache.conf inclusion to httpd.conf |
# Append loncapa_apache.conf inclusion to httpd.conf |
# (or sites-available/loncapa) if not present. |
# (or sites-available/loncapa or conf-available/loncapa) if not present. |
$flag=0; |
$flag=0; |
open(IN,'<<TARGET />'); |
open(IN,'<<TARGET />'); |
while (<IN>) { |
while (<IN>) { |
Line 84 else {
|
Line 88 else {
|
print(OUT 'Include conf/loncapa_apache.conf'."\n"); |
print(OUT 'Include conf/loncapa_apache.conf'."\n"); |
close(OUT); |
close(OUT); |
} |
} |
# Remove loncapa.conf inclusion from httpd.conf if present. |
# Remove loncapa.conf inclusion from httpd.conf |
|
# (or sites-available/loncapa or conf-available/loncapa) if present. |
$flag=0; |
$flag=0; |
open(IN,'<<TARGET />'); |
open(IN,'<<TARGET />'); |
while (<IN>) { |
while (<IN>) { |