Make Tailbone the default website, etc.
This commit is contained in:
parent
cf06a1987d
commit
424abb3b36
4 changed files with 37 additions and 73 deletions
|
@ -1,49 +0,0 @@
|
|||
# -*- mode: apache -*-
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName pod.localhost
|
||||
|
||||
DocumentRoot /srv/pod/
|
||||
<Directory /srv/pod/>
|
||||
Options +Indexes
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Forbid directory browsing of POD images; there are just too many.
|
||||
<DirectoryMatch "^/srv/pod/pictures/gtin/gtin-\d{3}">
|
||||
Options -Indexes
|
||||
</DirectoryMatch>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
LogLevel warn
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
<VirtualHost *:443>
|
||||
ServerName pod.localhost
|
||||
|
||||
DocumentRoot /srv/pod/
|
||||
<Directory /srv/pod>
|
||||
Options +Indexes
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Forbid directory browsing of POD images; there are just too many.
|
||||
<DirectoryMatch "^/srv/pod/pictures/gtin/gtin-\d{3}">
|
||||
Options -Indexes
|
||||
</DirectoryMatch>
|
||||
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
LogLevel warn
|
||||
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
|
||||
|
||||
BrowserMatch "MSIE [2-6]" \
|
||||
nokeepalive ssl-unclean-shutdown \
|
||||
downgrade-1.0 force-response-1.0
|
||||
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
|
||||
</VirtualHost>
|
|
@ -28,7 +28,7 @@ default.to = root@localhost
|
|||
default.subject = [Rattail] Automated email
|
||||
|
||||
[rattail.pod]
|
||||
pictures.gtin.root_url = http://pod.localhost/pictures/gtin
|
||||
pictures.gtin.root_url = http://localhost:9080/pod/pictures/gtin
|
||||
pictures.gtin.root_path = /srv/pod/pictures/gtin
|
||||
|
||||
|
||||
|
|
|
@ -11,6 +11,18 @@ WSGIDaemonProcess rattail user=rattail group=rattail
|
|||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# POD
|
||||
Alias /pod/ /srv/pod/
|
||||
<Directory /srv/pod/>
|
||||
Options +Indexes
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Forbid directory browsing of POD images; there are just too many.
|
||||
<DirectoryMatch "^/srv/pod/pictures/gtin/gtin-\d{3}">
|
||||
Options -Indexes
|
||||
</DirectoryMatch>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
LogLevel warn
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
@ -25,6 +37,18 @@ WSGIDaemonProcess rattail user=rattail group=rattail
|
|||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# POD
|
||||
Alias /pod/ /srv/pod/
|
||||
<Directory /srv/pod/>
|
||||
Options +Indexes
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Forbid directory browsing of POD images; there are just too many.
|
||||
<DirectoryMatch "^/srv/pod/pictures/gtin/gtin-\d{3}">
|
||||
Options -Indexes
|
||||
</DirectoryMatch>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
LogLevel warn
|
||||
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue