]> git.giorgioravera.it Git - apache.git/commitdiff
Fist Commit
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 19 Mar 2019 09:19:52 +0000 (10:19 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 19 Mar 2019 09:20:32 +0000 (10:20 +0100)
30 files changed:
sites-available/000-default.conf [new file with mode: 0644]
sites-available/archivio.giorgioravera.it.conf [new file with mode: 0644]
sites-available/astal.giorgioravera.it.conf [new file with mode: 0644]
sites-available/asterisk.giorgioravera.it.conf [new file with mode: 0644]
sites-available/default-ssl.conf [new file with mode: 0644]
sites-available/download.giorgioravera.it.conf [new file with mode: 0644]
sites-available/git.giorgioravera.it.conf [new file with mode: 0644]
sites-available/git.giorgioravera.it.conf.ok [new file with mode: 0644]
sites-available/home.giorgioravera.it.conf [new file with mode: 0644]
sites-available/laura.giorgioravera.it.conf [new file with mode: 0644]
sites-available/listanozze.giorgioravera.it.conf [new file with mode: 0644]
sites-available/lists.giorgioravera.it.conf [new file with mode: 0644]
sites-available/matrimonio.giorgioravera.it.conf [new file with mode: 0644]
sites-available/nas.giorgioravera.it.conf [new file with mode: 0644]
sites-available/phpldapadmin.conf [new file with mode: 0644]
sites-available/phpmyadmin.conf [new file with mode: 0644]
sites-available/roundcube.conf [new file with mode: 0644]
sites-available/serverinfo.giorgioravera.it.conf [new file with mode: 0644]
sites-available/svn.giorgioravera.it.conf [new file with mode: 0644]
sites-available/template_normal.conf [new file with mode: 0644]
sites-available/template_normal_ssl.conf [new file with mode: 0644]
sites-available/template_proxy.conf [new file with mode: 0644]
sites-available/wedding.giorgioravera.it.conf [new file with mode: 0644]
sites-available/www.giorgioravera.it.conf [new file with mode: 0644]
sites-available/xoa.giorgioravera.it.conf [new file with mode: 0644]
svn/ASFLogin [new file with mode: 0644]
svn/Archivio [new file with mode: 0644]
svn/Matrimonio [new file with mode: 0644]
svn/Tesi_CLS [new file with mode: 0644]
svn/Tesi_Voip [new file with mode: 0644]

diff --git a/sites-available/000-default.conf b/sites-available/000-default.conf
new file mode 100644 (file)
index 0000000..58e3e0b
--- /dev/null
@@ -0,0 +1,33 @@
+<VirtualHost *:80>
+       # The ServerName directive sets the request scheme, hostname and port that
+       # the server uses to identify itself. This is used when creating
+       # redirection URLs. In the context of virtual hosts, the ServerName
+       # specifies what hostname must appear in the request's Host: header to
+       # match this virtual host. For the default virtual host (this file) this
+       # value is not decisive as it is used as a last resort host regardless.
+       # However, you must set it for any further virtual host explicitly.
+       #ServerName www.example.com
+
+       ServerAdmin giorgio@giorgioravera.it
+
+       #DocumentRoot /var/www/html
+       DocumentRoot /var/www/www.giorgioravera.it/htdocs
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/archivio.giorgioravera.it.conf b/sites-available/archivio.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..b0547ad
--- /dev/null
@@ -0,0 +1,38 @@
+<VirtualHost *:80>
+       ServerName archivio.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^(.*) https://archivio.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName archivio.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /var/www/archivio.giorgioravera.it/htdocs
+               ScriptAlias /cgi-bin /var/www/archivio.giorgioravera.it/cgi-bin
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               ErrorLog /var/www/archivio.giorgioravera.it/log/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+               CustomLog /var/www/archivio.giorgioravera.it/log/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/astal.giorgioravera.it.conf b/sites-available/astal.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..11ab9f8
--- /dev/null
@@ -0,0 +1,28 @@
+<VirtualHost *:80>
+       ServerName astal.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+
+       DocumentRoot /var/www/astal.giorgioravera.it/htdocs
+       ScriptAlias /cgi-bin /var/www/astal.giorgioravera.it/cgi-bin
+       SuExecUserGroup "astal" "clienti"
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       ErrorLog /var/www/astal.giorgioravera.it/log/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+       CustomLog /var/www/astal.giorgioravera.it/log/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/asterisk.giorgioravera.it.conf b/sites-available/asterisk.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..38b3770
--- /dev/null
@@ -0,0 +1,38 @@
+<VirtualHost *:80>
+       ServerName asterisk.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^/$ https://asterisk.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName asterisk.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               ProxyPass / http://asterisk.giorgioravera.it/
+               ProxyPassReverse / http://asterisk.giorgioravera.it/
+               ProxyPass /admin/ http://asterisk.giorgioravera.it/admin/
+               ProxyPassReverse /admin/ http://asterisk.giorgioravera.it/admin/
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/default-ssl.conf b/sites-available/default-ssl.conf
new file mode 100644 (file)
index 0000000..84c8a95
--- /dev/null
@@ -0,0 +1,139 @@
+<IfModule mod_ssl.c>
+       <VirtualHost _default_:443>
+               ServerAdmin giorgio@giorgioravera.it
+
+               #DocumentRoot /var/www/html
+               DocumentRoot /var/www/www.giorgioravera.it/htdocs
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+
+               #   SSL Engine Switch:
+               #   Enable/Disable SSL for this virtual host.
+               SSLEngine on
+
+               #   A self-signed (snakeoil) certificate can be created by installing
+               #   the ssl-cert package. See
+               #   /usr/share/doc/apache2/README.Debian.gz for more info.
+               #   If both key and certificate are stored in the same file, only the
+               #   SSLCertificateFile directive is needed.
+               # SSLCertificateFile /etc/ssl/giorgioravera.it/certs/server.giorgioravera.it.crt
+               # SSLCertificateKeyFile /etc/ssl/giorgioravera.it/certs/server.giorgioravera.it.key
+               SSLCertificateFile /etc/letsencrypt/live/server.giorgioravera.it/cert.pem
+               SSLCertificateKeyFile /etc/letsencrypt/live/server.giorgioravera.it/privkey.pem
+
+
+               #   Server Certificate Chain:
+               #   Point SSLCertificateChainFile at a file containing the
+               #   concatenation of PEM encoded CA certificates which form the
+               #   certificate chain for the server certificate. Alternatively
+               #   the referenced file can be the same as SSLCertificateFile
+               #   when the CA certificates are directly appended to the server
+               #   certificate for convinience.
+               #SSLCertificateChainFile /etc/apache2/ssl.crt/server-ca.crt
+               SSLCertificateChainFile /etc/letsencrypt/live/server.giorgioravera.it/chain.pem
+
+               #   Certificate Authority (CA):
+               #   Set the CA certificate verification path where to find CA
+               #   certificates for client authentication or alternatively one
+               #   huge file containing all of them (file must be PEM encoded)
+               #   Note: Inside SSLCACertificatePath you need hash symlinks
+               #                to point to the certificate files. Use the provided
+               #                Makefile to update the hash symlinks after changes.
+               #SSLCACertificatePath /etc/ssl/certs/
+               #SSLCACertificateFile /etc/ssl/giorgioravera.it/ca.crt
+
+               #   Certificate Revocation Lists (CRL):
+               #   Set the CA revocation path where to find CA CRLs for client
+               #   authentication or alternatively one huge file containing all
+               #   of them (file must be PEM encoded)
+               #   Note: Inside SSLCARevocationPath you need hash symlinks
+               #                to point to the certificate files. Use the provided
+               #                Makefile to update the hash symlinks after changes.
+               #SSLCARevocationPath /etc/apache2/ssl.crl/
+               #SSLCARevocationFile /etc/apache2/ssl.crl/ca-bundle.crl
+
+               #   Client Authentication (Type):
+               #   Client certificate verification type and depth.  Types are
+               #   none, optional, require and optional_no_ca.  Depth is a
+               #   number which specifies how deeply to verify the certificate
+               #   issuer chain before deciding the certificate is not valid.
+               #SSLVerifyClient require
+               #SSLVerifyDepth  10
+
+               #   SSL Engine Options:
+               #   Set various options for the SSL engine.
+               #   o FakeBasicAuth:
+               #        Translate the client X.509 into a Basic Authorisation.  This means that
+               #        the standard Auth/DBMAuth methods can be used for access control.  The
+               #        user name is the `one line' version of the client's X.509 certificate.
+               #        Note that no password is obtained from the user. Every entry in the user
+               #        file needs this password: `xxj31ZMTZzkVA'.
+               #   o ExportCertData:
+               #        This exports two additional environment variables: SSL_CLIENT_CERT and
+               #        SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
+               #        server (always existing) and the client (only existing when client
+               #        authentication is used). This can be used to import the certificates
+               #        into CGI scripts.
+               #   o StdEnvVars:
+               #        This exports the standard SSL/TLS related `SSL_*' environment variables.
+               #        Per default this exportation is switched off for performance reasons,
+               #        because the extraction step is an expensive operation and is usually
+               #        useless for serving static content. So one usually enables the
+               #        exportation for CGI and SSI requests only.
+               #   o OptRenegotiate:
+               #        This enables optimized SSL connection renegotiation handling when SSL
+               #        directives are used in per-directory context.
+               #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
+               <FilesMatch "\.(cgi|shtml|phtml|php)$">
+                               SSLOptions +StdEnvVars
+               </FilesMatch>
+               <Directory /usr/lib/cgi-bin>
+                               SSLOptions +StdEnvVars
+               </Directory>
+
+               #   SSL Protocol Adjustments:
+               #   The safe and default but still SSL/TLS standard compliant shutdown
+               #   approach is that mod_ssl sends the close notify alert but doesn't wait for
+               #   the close notify alert from client. When you need a different shutdown
+               #   approach you can use one of the following variables:
+               #   o ssl-unclean-shutdown:
+               #        This forces an unclean shutdown when the connection is closed, i.e. no
+               #        SSL close notify alert is send or allowed to received.  This violates
+               #        the SSL/TLS standard but is needed for some brain-dead browsers. Use
+               #        this when you receive I/O errors because of the standard approach where
+               #        mod_ssl sends the close notify alert.
+               #   o ssl-accurate-shutdown:
+               #        This forces an accurate shutdown when the connection is closed, i.e. a
+               #        SSL close notify alert is send and mod_ssl waits for the close notify
+               #        alert of the client. This is 100% SSL/TLS standard compliant, but in
+               #        practice often causes hanging connections with brain-dead browsers. Use
+               #        this only for browsers where you know that their SSL implementation
+               #        works correctly.
+               #   Notice: Most problems of broken clients are also related to the HTTP
+               #   keep-alive facility, so you usually additionally want to disable
+               #   keep-alive for those clients, too. Use variable "nokeepalive" for this.
+               #   Similarly, one has to force some clients to use HTTP/1.0 to workaround
+               #   their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
+               #   "force-response-1.0" for this.
+               # BrowserMatch "MSIE [2-6]" \
+               #               nokeepalive ssl-unclean-shutdown \
+               #               downgrade-1.0 force-response-1.0
+
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/download.giorgioravera.it.conf b/sites-available/download.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..716f101
--- /dev/null
@@ -0,0 +1,36 @@
+<VirtualHost *:80>
+       ServerName download.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^/$ https://download.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName download.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               ProxyPass / http://download.giorgioravera.it/
+               ProxyPassReverse / http://download.giorgioravera.it/
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/git.giorgioravera.it.conf b/sites-available/git.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..102f92b
--- /dev/null
@@ -0,0 +1,60 @@
+<VirtualHost *:80>
+       ServerName git.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName git.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /var/www/git.giorgioravera.it/htdocs
+               <Directory /var/www/git.giorgioravera.it/htdocs>
+                       Options Indexes FollowSymlinks ExecCGI
+                       AddHandler cgi-script .cgi
+                       DirectoryIndex gitweb.cgi
+               </Directory>
+#              DocumentRoot /var/lib/gitolite3/repositories
+#              <Directory /var/lib/gitolite3/repositories>
+#                      Options ExecCGI Indexes FollowSymLinks
+#                      AllowOverride All
+#                      Require all granted
+#              </Directory>
+               ScriptAlias /git /var/www/git.giorgioravera.it/cgi-bin/git-http-backend-wrapper
+               SuExecUserGroup "git" "git"
+               <Location /git>
+                       AuthType Basic
+                       AuthName "Git Repository - homeassistant"
+                       AuthBasicAuthoritative on
+                       AuthBasicProvider ldap
+                       AuthLDAPURL "ldaps://ldap.giorgioravera.it/dc=giorgioravera,dc=it?uid"
+                       AuthLDAPGroupAttributeIsDN off
+                       AuthLDAPGroupAttribute memberUid
+                       Require ldap-group cn=versioning,ou=Groups,dc=giorgioravera,dc=it
+               </Location>
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               ErrorLog /var/www/git.giorgioravera.it/log/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+               CustomLog /var/www/git.giorgioravera.it/log/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+
+               # Include websvn configuration
+               Include conf-available/gitweb.conf
+       </VirtualHost>
+</IfModule>
diff --git a/sites-available/git.giorgioravera.it.conf.ok b/sites-available/git.giorgioravera.it.conf.ok
new file mode 100644 (file)
index 0000000..fac3e8a
--- /dev/null
@@ -0,0 +1,64 @@
+<VirtualHost *:80>
+       ServerName git.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName git.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /usr/share/gitweb
+#              DocumentRoot /var/lib/gitolite3/repositories
+#              <Directory /var/lib/gitolite3/repositories>
+#                      Options ExecCGI Indexes FollowSymLinks
+#                      AllowOverride All
+#                      Require all granted
+#              </Directory>
+               ScriptAlias /git /var/www/git.giorgioravera.it/bin/git-http-backend-wrapper
+               SuExecUserGroup "git" "git"
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+
+#              <Location />
+#                      AuthType Basic
+#                      AuthName "Private Git Access"
+#                      AuthBasicAuthoritative on
+#                      AuthBasicProvider ldap
+#
+#                      AuthLDAPURL "ldap://localhost/dc=giorgioravera,dc=it?uid"
+#                      AuthLDAPGroupAttributeIsDN off
+#                      AuthLDAPGroupAttribute memberUid
+#                      Require ldap-user xraver lalaura
+#                      #Require ldap-group cn=versioning,ou=Groups,dc=giorgioravera,dc=it
+#                      #<Limit GET PROPFIND OPTIONS REPORT>
+#                              #       Require ldap-group cn=clients,ou=Groups,dc=giorgioravera,dc=it
+#                      #</Limit>
+#              </Location>
+
+               # Include websvn configuration
+               Include conf-available/gitweb.conf
+
+               # Include repository configurations
+               Include git/*
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/home.giorgioravera.it.conf b/sites-available/home.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..1a1c487
--- /dev/null
@@ -0,0 +1,46 @@
+<VirtualHost *:80>
+       ServerName home.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^(.*) https://home.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName home.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               ProxyPreserveHost On
+               ProxyRequests off
+               ProxyPass /api/websocket ws://localhost:8123/api/websocket
+               ProxyPassReverse /api/websocket ws://localhost:8123/api/websocket
+               ProxyPass / http://localhost:8123/
+               ProxyPassReverse / http://localhost:8123/
+
+               RewriteEngine on
+               RewriteCond %{HTTP:Upgrade} =websocket [NC]
+               RewriteRule /(.*)  ws://localhost:8123/$1 [P,L]
+               RewriteCond %{HTTP:Upgrade} !=websocket [NC]
+               RewriteRule /(.*)  http://localhost:8123/$1 [P,L]
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/laura.giorgioravera.it.conf b/sites-available/laura.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..3f7f882
--- /dev/null
@@ -0,0 +1,28 @@
+<VirtualHost *:80>
+       ServerName laura.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+
+       DocumentRoot /var/www/laura.giorgioravera.it/htdocs
+       ScriptAlias /cgi-bin /var/www/laura.giorgioravera.it/cgi-bin
+       SuExecUserGroup "lalaura" "casa"
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       ErrorLog /var/www/laura.giorgioravera.it/log/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+       CustomLog /var/www/laura.giorgioravera.it/log/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/listanozze.giorgioravera.it.conf b/sites-available/listanozze.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..804c097
--- /dev/null
@@ -0,0 +1,28 @@
+<VirtualHost *:80>
+       ServerName listanozze.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+
+       DocumentRoot /var/www/wedding.giorgioravera.it/htdocs
+       ScriptAlias /cgi-bin /var/www/wedding.giorgioravera.it/cgi-bin
+       SuExecUserGroup "xraver" "casa"
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       ErrorLog /var/www/wedding.giorgioravera.it/log/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+       CustomLog /var/www/wedding.giorgioravera.it/log/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/lists.giorgioravera.it.conf b/sites-available/lists.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..49c3e33
--- /dev/null
@@ -0,0 +1,28 @@
+<VirtualHost *:80>
+       ServerName lists.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+
+       DocumentRoot /var/www/lists.giorgioravera.it/htdocs/
+       DirectoryIndex index.html /cgi-bin/listinfo
+       ScriptAlias /cgi-bin/ /var/www/lists.giorgioravera.it/cgi-bin/
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       ErrorLog /var/www/lists.giorgioravera.it/log/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+       CustomLog /var/www/lists.giorgioravera.it/log/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/matrimonio.giorgioravera.it.conf b/sites-available/matrimonio.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..c6d009a
--- /dev/null
@@ -0,0 +1,28 @@
+<VirtualHost *:80>
+       ServerName matrimonio.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+
+       DocumentRoot /var/www/matrimonio.giorgioravera.it/htdocs
+       ScriptAlias /cgi-bin /var/www/matrimonio.giorgioravera.it/cgi-bin
+       SuExecUserGroup "xraver" "casa"
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       ErrorLog /var/www/matrimonio.giorgioravera.it/log/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+       CustomLog /var/www/matrimonio.giorgioravera.it/log/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/nas.giorgioravera.it.conf b/sites-available/nas.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..e0e6e08
--- /dev/null
@@ -0,0 +1,36 @@
+<VirtualHost *:80>
+       ServerName nas.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^/$ https://nas.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName nas.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               ProxyPass / http://nas.giorgioravera.it:8080/
+               ProxyPassReverse / http://nas.giorgioravera.it:8080/
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/phpldapadmin.conf b/sites-available/phpldapadmin.conf
new file mode 100644 (file)
index 0000000..2439707
--- /dev/null
@@ -0,0 +1,38 @@
+<VirtualHost *:80>
+       ServerName ldap.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^(.*) https://ldap.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName ldap.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /usr/share/phpldapadmin/
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+
+               # Include phpldapadmin configuration
+               Include conf-available/phpldapadmin.conf 
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/phpmyadmin.conf b/sites-available/phpmyadmin.conf
new file mode 100644 (file)
index 0000000..6a032cb
--- /dev/null
@@ -0,0 +1,38 @@
+<VirtualHost *:80>
+       ServerName mysql.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^(.*) https://mysql.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName mysql.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /usr/share/phpmyadmin/
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+
+               # Include phpmyadmin configuration
+               Include conf-available/phpmyadmin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/roundcube.conf b/sites-available/roundcube.conf
new file mode 100644 (file)
index 0000000..eabe13b
--- /dev/null
@@ -0,0 +1,38 @@
+<VirtualHost *:80>
+       ServerName mail.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^(.*) https://mail.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName mail.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /usr/share/roundcube
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+
+               # Include roundcube configuration
+               Include conf-available/roundcube.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/serverinfo.giorgioravera.it.conf b/sites-available/serverinfo.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..da58f71
--- /dev/null
@@ -0,0 +1,57 @@
+<VirtualHost *:80>
+       ServerName serverinfo.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       #RedirectMatch ^(.*) https://serverinfo.giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+
+       # Zabbix Configuration
+       #Include conf-available/zabbix-frontend-php.conf
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName serverinfo.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /var/www/serverinfo.giorgioravera.it/htdocs
+               <Directory /var/www/serverinfo.giorgioravera.it/htdocs/>
+                 Options +Indexes +FollowSymLinks +MultiViews
+                 AllowOverride All
+                 Require all granted
+               </Directory>
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               ErrorLog /var/www/serverinfo.giorgioravera.it/log/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+               CustomLog /var/www/serverinfo.giorgioravera.it/log/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+
+               # Zabbix Configuration
+               Include conf-available/zabbix-frontend-php.conf
+
+               #ProxyPass /terminal/ http://localhost:8022/
+               #ProxyPassReverse /terminal/ http://localhost:8022/
+
+               #ProxyPass /xen/ http://localhost:8080/
+               #ProxyPassReverse /xen/ http://localhost:8080/
+
+               #ProxyPass /webmin/ http://serverinfo.giorgioravera.it:10000/
+               #ProxyPassReverse /webmin/ http://serverinfo.giorgioravera.it:10000/
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/svn.giorgioravera.it.conf b/sites-available/svn.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..f2b0aa4
--- /dev/null
@@ -0,0 +1,40 @@
+<VirtualHost *:80>
+       ServerName svn.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName svn.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /usr/share/websvn
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+
+               # Include websvn configuration
+               Include conf-available/websvn.conf
+
+               # Include repository configurations
+               Include svn/*
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/template_normal.conf b/sites-available/template_normal.conf
new file mode 100644 (file)
index 0000000..cad6a04
--- /dev/null
@@ -0,0 +1,28 @@
+<VirtualHost *:80>
+       ServerName SERVERNAME.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+
+       DocumentRoot /var/www/SERVERNAME.giorgioravera.it/htdocs
+       ScriptAlias /cgi-bin /var/www/SERVERNAME.giorgioravera.it/cgi-bin
+       SuExecUserGroup "USERNAME" "USERGROUP"
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       ErrorLog /var/www/SERVERNAME.giorgioravera.it/log/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+       CustomLog /var/www/SERVERNAME.giorgioravera.it/log/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/template_normal_ssl.conf b/sites-available/template_normal_ssl.conf
new file mode 100644 (file)
index 0000000..d371f3c
--- /dev/null
@@ -0,0 +1,38 @@
+<VirtualHost *:80>
+       ServerName SERVERNAME.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName SERVERNAME.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               DocumentRoot /var/www/SERVERNAME.giorgioravera.it/htdocs
+               ScriptAlias /cgi-bin /var/www/SERVERNAME.giorgioravera.it/cgi-bin
+               SuExecUserGroup "USERNAME" "USERGROUP"
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               ErrorLog /var/www/SERVERNAME.giorgioravera.it/log/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+               CustomLog /var/www/SERVERNAME.giorgioravera.it/log/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/template_proxy.conf b/sites-available/template_proxy.conf
new file mode 100644 (file)
index 0000000..64100e5
--- /dev/null
@@ -0,0 +1,35 @@
+<VirtualHost *:80>
+       ServerName SERVERNAME.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName SERVERNAME.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               ProxyPass / http://SERVERNAME.giorgioravera.it/
+               ProxyPassReverse / http://SERVERNAME.giorgioravera.it/
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/wedding.giorgioravera.it.conf b/sites-available/wedding.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..e382eb7
--- /dev/null
@@ -0,0 +1,28 @@
+<VirtualHost *:80>
+       ServerName wedding.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+
+       DocumentRoot /var/www/wedding.giorgioravera.it/htdocs
+       ScriptAlias /cgi-bin /var/www/wedding.giorgioravera.it/cgi-bin
+       SuExecUserGroup "xraver" "casa"
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       ErrorLog /var/www/wedding.giorgioravera.it/log/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+       CustomLog /var/www/wedding.giorgioravera.it/log/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/www.giorgioravera.it.conf b/sites-available/www.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..5b2bae8
--- /dev/null
@@ -0,0 +1,41 @@
+<VirtualHost *:80>
+       ServerName www.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+
+       DocumentRoot /var/www/www.giorgioravera.it/htdocs
+       ScriptAlias /cgi-bin /var/www/www.giorgioravera.it/cgi-bin
+
+       # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+       # error, crit, alert, emerg.
+       # It is also possible to configure the loglevel for particular
+       # modules, e.g.
+       #LogLevel info ssl:warn
+
+       ErrorLog ${APACHE_LOG_DIR}/error.log
+       ErrorLog /var/www/www.giorgioravera.it/log/error.log
+       CustomLog ${APACHE_LOG_DIR}/access.log combined
+       CustomLog /var/www/www.giorgioravera.it/log/access.log combined
+
+       # For most configuration files from conf-available/, which are
+       # enabled or disabled at a global level, it is possible to
+       # include a line for only one particular virtual host. For example the
+       # following line enables the CGI configuration for this host only
+       # after it has been globally disabled with "a2disconf".
+       #Include conf-available/serve-cgi-bin.conf
+
+       <IfModule mod_cband.c>
+               # imposto un limite di banda di 30gb
+               #CBandLimit 30G
+               # max kbps | max requests | max open connections
+               CBandSpeed 2048 25 50
+               CBandRemoteSpeed 20kb/s 5 5
+               # percorso dello scoreboard
+               CBandScoreboard /etc/apache2/scboards/www.giorgioravera.it.scb
+               # scoreboard lifetime
+               CBandPeriod 4W
+               # Indirizzo al quale eseguire il redirect in caso di banda esaurita
+               #CBandDefaultExceededURL http://mydomain.tld/bwexceed.php
+       </IfModule> 
+</VirtualHost>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/sites-available/xoa.giorgioravera.it.conf b/sites-available/xoa.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..9b05882
--- /dev/null
@@ -0,0 +1,41 @@
+<VirtualHost *:80>
+       ServerName xoa.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       RewriteEngine on
+       RewriteCond %{HTTPS} !=on
+       RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName xoa.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               ProxyPreserveHost On
+               ProxyRequests off
+               ProxyPass / http://xoa.giorgioravera.it/
+               ProxyPassReverse / http://xoa.giorgioravera.it/
+
+               RewriteEngine On
+               RewriteCond %{HTTP:upgrade} websocket [NC]
+               RewriteRule /(.*) ws://xoa.giorgioravera.it/$1 [L,P]
+
+               # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
+               # error, crit, alert, emerg.
+               # It is also possible to configure the loglevel for particular
+               # modules, e.g.
+               #LogLevel info ssl:warn
+
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+               CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+               # For most configuration files from conf-available/, which are
+               # enabled or disabled at a global level, it is possible to
+               # include a line for only one particular virtual host. For example the
+               # following line enables the CGI configuration for this host only
+               # after it has been globally disabled with "a2disconf".
+               #Include conf-available/serve-cgi-bin.conf
+       </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
diff --git a/svn/ASFLogin b/svn/ASFLogin
new file mode 100644 (file)
index 0000000..f479359
--- /dev/null
@@ -0,0 +1,18 @@
+<Location /ASFLogin>
+       DAV svn
+       SVNPath /var/lib/svn/ASFLogin
+       #SVNParentPath /var/lib/svn
+       AuthType Basic
+       AuthName "Subversion Repository - Matrimonio"
+       AuthBasicAuthoritative on
+       AuthBasicProvider ldap
+
+       AuthLDAPURL "ldaps://ldap.giorgioravera.it/dc=giorgioravera,dc=it?uid"
+       AuthLDAPGroupAttributeIsDN off
+       AuthLDAPGroupAttribute memberUid
+       Require ldap-user xraver bonfantef
+       #Require ldap-group cn=versioning,ou=Groups,dc=giorgioravera,dc=it
+       #<Limit GET PROPFIND OPTIONS REPORT>
+       #       Require ldap-group cn=clients,ou=Groups,dc=giorgioravera,dc=it
+       #</Limit>
+</Location>
diff --git a/svn/Archivio b/svn/Archivio
new file mode 100644 (file)
index 0000000..aeff3c6
--- /dev/null
@@ -0,0 +1,18 @@
+<Location /Archivio>
+       DAV svn
+       SVNPath /var/lib/svn/Archivio
+       #SVNParentPath /var/lib/svn
+       AuthType Basic
+       AuthName "Subversion Repository - Archivio"
+       AuthBasicAuthoritative on
+       AuthBasicProvider ldap
+
+       AuthLDAPURL "ldaps://ldap.giorgioravera.it/dc=giorgioravera,dc=it?uid"
+       AuthLDAPGroupAttributeIsDN off
+       AuthLDAPGroupAttribute memberUid
+       Require ldap-user xraver lalaura
+       #Require ldap-group cn=versioning,ou=Groups,dc=giorgioravera,dc=it
+       #<Limit GET PROPFIND OPTIONS REPORT>
+       #       Require ldaps.group cn=clients,ou=Groups,dc=giorgioravera,dc=it
+       #</Limit>
+</Location>
diff --git a/svn/Matrimonio b/svn/Matrimonio
new file mode 100644 (file)
index 0000000..96c45fc
--- /dev/null
@@ -0,0 +1,18 @@
+<Location /Matrimonio>
+       DAV svn
+       SVNPath /var/lib/svn/Matrimonio
+       #SVNParentPath /var/lib/svn
+       AuthType Basic
+       AuthName "Subversion Repository - Matrimonio"
+       AuthBasicAuthoritative on
+       AuthBasicProvider ldap
+
+       AuthLDAPURL "ldaps://ldap.giorgioravera.it/dc=giorgioravera,dc=it?uid"
+       AuthLDAPGroupAttributeIsDN off
+       AuthLDAPGroupAttribute memberUid
+       Require ldap-user xraver lalaura
+       #Require ldap-group cn=versioning,ou=Groups,dc=giorgioravera,dc=it
+       #<Limit GET PROPFIND OPTIONS REPORT>
+       #       Require ldap-group cn=clients,ou=Groups,dc=giorgioravera,dc=it
+       #</Limit>
+</Location>
diff --git a/svn/Tesi_CLS b/svn/Tesi_CLS
new file mode 100644 (file)
index 0000000..cf19e97
--- /dev/null
@@ -0,0 +1,18 @@
+<Location /Tesi_Memory_Support_System>
+       DAV svn
+       SVNPath /var/lib/svn/Tesi_Memory_Support_System
+       #SVNParentPath /var/lib/svn
+       AuthType Basic
+       AuthName "Subversion Repository"
+       AuthBasicAuthoritative on
+       AuthBasicProvider ldap
+
+       AuthLDAPURL "ldaps://ldap.giorgioravera.it/dc=giorgioravera,dc=it?uid"
+       AuthLDAPGroupAttributeIsDN off
+       AuthLDAPGroupAttribute memberUid
+       Require ldap-user xraver migliardi
+       #Require ldap-group cn=versioning,ou=Groups,dc=giorgioravera,dc=it
+       #<Limit GET PROPFIND OPTIONS REPORT>
+       #       Require ldap-group cn=clients,ou=Groups,dc=giorgioravera,dc=it
+       #</Limit>
+</Location>
diff --git a/svn/Tesi_Voip b/svn/Tesi_Voip
new file mode 100644 (file)
index 0000000..f8f4efc
--- /dev/null
@@ -0,0 +1,18 @@
+<Location /Tesi_Voip>
+       DAV svn
+       SVNPath /var/lib/svn/Tesi_Voip
+       #SVNParentPath /var/lib/svn
+       AuthType Basic
+       AuthName "Subversion Repository"
+       AuthBasicAuthoritative on
+       AuthBasicProvider ldap
+
+       AuthLDAPURL "ldaps://ldap.giorgioravera.it/dc=giorgioravera,dc=it?uid"
+       AuthLDAPGroupAttributeIsDN off
+       AuthLDAPGroupAttribute memberUid
+       Require ldap-user xraver migliardi monica
+       #Require ldap-group cn=versioning,ou=Groups,dc=giorgioravera,dc=it
+       #<Limit GET PROPFIND OPTIONS REPORT>
+       #       Require ldap-group cn=clients,ou=Groups,dc=giorgioravera,dc=it
+       #</Limit>
+</Location>