1 ##################################################################
3 ServerName shopserver0p.fsf.org
4 ServerAlias shop.fsf.org
5 ServerAlias store.fsf.org
6 ServerAdmin webmaster@localhost
7 DocumentRoot /var/www/shopserver0p.fsf.org
9 RewriteCond %{HTTPS} off
10 RewriteCond %{REQUEST_URI} !=/server-status
11 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
12 ErrorLog /var/log/apache2/http-shopserver0p.fsf.org.error.log
13 CustomLog /var/log/apache2/http-shopserver0p.fsf.org.access.log combined
15 ##################################################################
17 ##################################################################
19 ServerName shopserver0p.fsf.org
20 ServerAlias shop.fsf.org
21 ServerAlias store.fsf.org
22 DocumentRoot /var/www/shopserver0p.fsf.org
25 AddType image/x-icon .ico
28 include /etc/apache2/sites-available/ssl-common.conf
30 SSLCertificateFile /etc/letsencrypt/live/shop.fsf.org/fullchain.pem
31 SSLCertificateKeyFile /etc/letsencrypt/live/shop.fsf.org/privkey.pem
32 SSLCertificateChainFile /etc/letsencrypt/live/shop.fsf.org/chain.pem
35 <Directory /var/www/shopserver0p.fsf.org>
36 Options Indexes FollowSymLinks MultiViews
41 #allow from 127.0.0.1 74.94.156.210 74.94.156.211
44 Alias /shop-reports /srv/shop-reports
45 <Directory /shop-reports>
50 #Allow from 127.0.0.1 74.94.156.210 74.94.156.211
53 <Files sales-reports.csv>
56 Allow from 127.0.0.1 74.94.156.210 74.94.156.211 209.51.188.193
59 <Files stock-report.csv>
62 Allow from 127.0.0.1 74.94.156.210 74.94.156.211
65 Include /etc/apache2/sites-available/shop.fsf.org-common
68 ErrorDocument 403 /403.html
70 LogFormat "%{X-Forwarded-for}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" cached
72 ErrorLog /var/log/apache2/http-shopserver0p.fsf.org.error.log
73 CustomLog /var/log/apache2/http-shopserver0p.fsf.org.access.log combined
76 ##################################################################