File:
[LON-CAPA] /
doc /
install /
linux /
debian-ubuntu /
ubuntu14 /
loncapa_site
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Wed Oct 29 20:56:23 2014 UTC (10 years ago) by
raeburn
Branches:
MAIN
CVS tags:
version_2_12_X,
version_2_11_X,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
HEAD
- Ubuntu14 LTS
- use both conf-enabled and sites-enabled.
- to support rewrite form http -> https include loncapa_rewrite_conf
in VirtualHost block for port 80 in sites-enabled/loncapa
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/httpd/html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
Include conf/loncapa_rewrite.conf
</VirtualHost>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>