# 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
+ ServerName _default_
ServerAdmin giorgio@giorgioravera.it
#DocumentRoot /var/www/html
- #DocumentRoot /var/www/www.giorgioravera.it/htdocs
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
ServerName ap1.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
- ProxyPass / http://ap1.giorgioravera.it/
- ProxyPassReverse / http://ap1.giorgioravera.it/
-
- #SSLProxyEngine on
- #ProxyPass / https://ap1.giorgioravera.it/
- #ProxyPassReverse / https://ap1.giorgioravera.it/
+ SSLProxyEngine on
+ ProxyPass / https://ap1.giorgioravera.it/
+ ProxyPassReverse / https://ap1.giorgioravera.it/
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
DocumentRoot /var/www/archivio.giorgioravera.it/htdocs
<Directory /var/www/archivio.giorgioravera.it/htdocs>
- AllowOverride All
+ Options FollowSymlinks
+ AllowOverride All
+ Require all granted
</Directory>
ScriptAlias /cgi-bin /var/www/archivio.giorgioravera.it/cgi-bin
# 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
+ ErrorLog ${APACHE_LOG_DIR}/error_archivio.log
+ CustomLog ${APACHE_LOG_DIR}/access_archivio.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# modules, e.g.
#LogLevel info ssl:warn
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
+ ErrorLog ${APACHE_LOG_DIR}/error_asterisk.log
+ CustomLog ${APACHE_LOG_DIR}/access_asterisk.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
SSLProxyEngine on
ProxyPass / https://code.giorgioravera.it/
ProxyPassReverse / https://code.giorgioravera.it/
+ ProxyPass / wss://code.giorgioravera.it/
+ ProxyPassReverse / wss://code.giorgioravera.it/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} =websocket [NC]
<VirtualHost *:443>
+ ServerName _default_
+
ServerAdmin giorgio@giorgioravera.it
- #DocumentRoot /var/www/html
- DocumentRoot /var/www/www.giorgioravera.it/htdocs
- <Directory /var/www/www.giorgioravera.it/htdocs>
+ DocumentRoot /var/www/html
+ <Directory /var/www/html>
Options FollowSymlinks
AllowOverride All
+ Require all granted
</Directory>
- ScriptAlias /cgi-bin /var/www/www.giorgioravera.it/cgi-bin
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
#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
# SSLCertificateFile directive is needed.
#SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
#SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
- SSLCertificateFile /etc/ssl/giorgioravera.it/cert.pem
+ SSLCertificateFile /etc/ssl/giorgioravera.it/fullchain.pem
SSLCertificateKeyFile /etc/ssl/giorgioravera.it/privkey.pem
# Server Certificate Chain:
# when the CA certificates are directly appended to the server
# certificate for convinience.
#SSLCertificateChainFile /etc/apache2/ssl.crt/server-ca.crt
- SSLCertificateChainFile /etc/ssl/giorgioravera.it/chain.pem
# Certificate Authority (CA):
# Set the CA certificate verification path where to find CA
ServerName download.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
+ ProxyPreserveHost on
+
SSLProxyEngine on
ProxyPass / https://download.giorgioravera.it/
ProxyPassReverse / https://download.giorgioravera.it/
# modules, e.g.
#LogLevel info ssl:warn
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
+ ErrorLog ${APACHE_LOG_DIR}/error_download.log
+ CustomLog ${APACHE_LOG_DIR}/access_download.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
ServerName fritz.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
- ProxyPass / http://fritz.giorgioravera.it/
- ProxyPassReverse / http://fritz.giorgioravera.it/
-
- #SSLProxyEngine on
- #ProxyPass / https://fritz.giorgioravera.it/
- #ProxyPassReverse / https://fritz.giorgioravera.it/
+ SSLProxyEngine on
+ ProxyPass / https://fritz.giorgioravera.it/
+ ProxyPassReverse / https://fritz.giorgioravera.it/
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
Options FollowSymlinks ExecCGI
AllowOverride All
AddHandler cgi-script .cgi
+ Require all granted
DirectoryIndex gitweb.cgi
AuthType Basic
# 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
+ ErrorLog ${APACHE_LOG_DIR}/error_git.log
+ CustomLog ${APACHE_LOG_DIR}/access_git.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
ServerName home.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
- #ProxyPass /api/websocket ws://home.giorgioravera.it:8123/api/websocket
- #ProxyPassReverse /api/websocket ws://home.giorgioravera.it:8123/api/websocket
- #ProxyPass / http://home.giorgioravera.it:8123/
- #ProxyPassReverse / http://home.giorgioravera.it:8123/
+ ProxyPreserveHost on
- SSLProxyEngine on
+ SSLProxyEngine on
ProxyPass / https://home.giorgioravera.it/
ProxyPassReverse / https://home.giorgioravera.it/
+ ProxyPass / wss://home.giorgioravera.it/
+ ProxyPassReverse / wss://home.giorgioravera.it/
RewriteEngine on
- #RewriteCond %{HTTP:Upgrade} =websocket [NC]
- #RewriteRule /(.*) ws://home.giorgioravera.it:8123/$1 [P,L]
+ RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) wss://home.giorgioravera.it/$1 [P,L]
- #RewriteCond %{HTTP:Upgrade} !=websocket [NC]
- #RewriteRule /(.*) http://home.giorgioravera.it:8123/$1 [P,L]
- RewriteRule /(.*) https://home.giorgioravera.it/$1 [P,L]
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
<VirtualHost *:80>
ServerName laura.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
+ Redirect permanent / https://laura.giorgioravera.it
+</VirtualHost>
- DocumentRoot /var/www/laura.giorgioravera.it/htdocs
- <Directory /var/www/laura.giorgioravera.it/htdocs>
- AllowOverride All
- </Directory>
- ScriptAlias /cgi-bin /var/www/laura.giorgioravera.it/cgi-bin
- SuExecUserGroup "lalaura" "casa"
+<IfModule mod_ssl.c>
+ <VirtualHost *:443>
+ ServerName laura.giorgioravera.it
+ ServerAdmin giorgio@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
+ DocumentRoot /var/www/laura.giorgioravera.it/htdocs
+ <Directory /var/www/laura.giorgioravera.it/htdocs>
+ AllowOverride All
+ </Directory>
+ ScriptAlias /cgi-bin /var/www/laura.giorgioravera.it/cgi-bin
+ SuExecUserGroup "lalaura" "casa"
- 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
+ # 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
- # 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>
+ 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>
<VirtualHost *:80>
ServerName listanozze.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
+ Redirect permanent / https://listanozze.giorgioravera.it
+</VirtualHost>
- DocumentRoot /var/www/wedding.giorgioravera.it/htdocs
- ScriptAlias /cgi-bin /var/www/wedding.giorgioravera.it/cgi-bin
- SuExecUserGroup "xraver" "casa"
+<IfModule mod_ssl.c>
+ <VirtualHost *:443>
+ ServerName listanozze.giorgioravera.it
+ ServerAdmin giorgio@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
+ DocumentRoot /var/www/listanozze.giorgioravera.it/htdocs
+ ScriptAlias /cgi-bin /var/www/listanozze.giorgioravera.it/cgi-bin
+ SuExecUserGroup "xraver" "casa"
- 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
+ # 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
- # 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>
+ 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>
<VirtualHost *:80>
ServerName matrimonio.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
+ Redirect permanent / https://matrimonio.giorgioravera.it
+</VirtualHost>
- DocumentRoot /var/www/matrimonio.giorgioravera.it/htdocs
- ScriptAlias /cgi-bin /var/www/matrimonio.giorgioravera.it/cgi-bin
- SuExecUserGroup "xraver" "casa"
+<IfModule mod_ssl.c>
+ <VirtualHost *:443>
+ ServerName matrimonio.giorgioravera.it
+ ServerAdmin giorgio@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
+ DocumentRoot /var/www/matrimonio.giorgioravera.it/htdocs
+ ScriptAlias /cgi-bin /var/www/matrimonio.giorgioravera.it/cgi-bin
+ SuExecUserGroup "xraver" "casa"
- 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
+ # 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
- # 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>
+ 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>
# modules, e.g.
#LogLevel info ssl:warn
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
+ ErrorLog ${APACHE_LOG_DIR}/error_nas.log
+ CustomLog ${APACHE_LOG_DIR}/access_nas.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
SSLProxyEngine on
ProxyPass / https://pve.giorgioravera.it:8006/
ProxyPassReverse / https://pve.giorgioravera.it:8006/
+ ProxyPass / wss://pve.giorgioravera.it:8006/
+ ProxyPassReverse / wss://pve.giorgioravera.it:8006/
- RewriteEngine On
- RewriteCond %{HTTP:upgrade} websocket [NC]
- RewriteRule /(.*) wss://pve.giorgioravera.it:8006/$1 [L,P]
+ RewriteEngine on
+ RewriteCond %{HTTP:Upgrade} =websocket [NC]
+ RewriteRule /(.*) wss://pve.giorgioravera.it:8006/$1 [P,L]
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# modules, e.g.
#LogLevel info ssl:warn
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
+ ErrorLog ${APACHE_LOG_DIR}/error_mail.log
+ CustomLog ${APACHE_LOG_DIR}/access_mail.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# 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
+ ErrorLog ${APACHE_LOG_DIR}/error_serverinfo.log
+ CustomLog ${APACHE_LOG_DIR}/access_serverinfo.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
DocumentRoot /var/www/svn.giorgioravera.it/htdocs
<Directory /var/www/svn.giorgioravera.it/htdocs>
- AllowOverride All
+ Options FollowSymlinks
+ AllowOverride All
+ Require all granted
</Directory>
SuExecUserGroup "subversion" "subversion"
# modules, e.g.
#LogLevel info ssl:warn
- ErrorLog ${APACHE_LOG_DIR}/error.log
- ErrorLog /var/www/svn.giorgioravera.it/log/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- CustomLog /var/www/svn.giorgioravera.it/log/accss.log combined
+ ErrorLog ${APACHE_LOG_DIR}/error_svn.log
+ CustomLog ${APACHE_LOG_DIR}/access_svn.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# 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>
<VirtualHost *:80>
ServerName SERVERNAME.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
+ Redirect permanent / https://SERVERNAME.giorgioravera.it
+</VirtualHost>
- DocumentRoot /var/www/SERVERNAME.giorgioravera.it/htdocs
- ScriptAlias /cgi-bin /var/www/SERVERNAME.giorgioravera.it/cgi-bin
- SuExecUserGroup "USERNAME" "USERGROUP"
+<IfModule mod_ssl.c>
+ <VirtualHost *:443>
+ ServerName SERVERNAME.giorgioravera.it
+ ServerAdmin giorgio@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
+ DocumentRoot /var/www/SERVERNAME.giorgioravera.it/htdocs
+ <Directory /var/SERVERNAME/www.giorgioravera.it/htdocs>
+ Options FollowSymlinks
+ AllowOverride All
+ Require all granted
+ </Directory>
+ ScriptAlias /cgi-bin /var/www/SERVERNAME.giorgioravera.it/cgi-bin
- 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
+ # 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
- # 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>
+ ErrorLog /var/www/SERVERNAME.giorgioravera.it/log/error.log
+ 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>
<VirtualHost *:80>
ServerName SERVERNAME.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
- Redirect permanent / https://SERVERNAME
+ Redirect permanent / https://SERVERNAME.giorgioravera.it
</VirtualHost>
<IfModule mod_ssl.c>
ServerName SERVERNAME.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
- ProxyPass / http://SERVERNAME.giorgioravera.it/
- ProxyPassReverse / http://SERVERNAME.giorgioravera.it/
+ SSLProxyEngine on
+ ProxyPass / https://SERVERNAME.giorgioravera.it/
+ ProxyPassReverse / https://SERVERNAME.giorgioravera.it/
+ ProxyPass / wss://SERVERNAME.giorgioravera.it/
+ ProxyPassReverse / wss://SERVERNAME.giorgioravera.it/
+
+ RewriteEngine on
+ RewriteCond %{HTTP:Upgrade} =websocket [NC]
+ RewriteRule /(.*) wss://SERVERNAME.giorgioravera.it/$1 [P,L]
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# modules, e.g.
#LogLevel info ssl:warn
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
+ ErrorLog ${APACHE_LOG_DIR}/error_SERVERNAME.log
+ CustomLog ${APACHE_LOG_DIR}/access_SERVERNAME.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
ServerName traefik.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
- #ProxyPass / http://traefik.giorgioravera.it/
- #ProxyPassReverse / http://traefik.giorgioravera.it/
-
SSLProxyEngine on
ProxyPass / https://traefik.giorgioravera.it/
ProxyPassReverse / https://traefik.giorgioravera.it/
ServerName webssh.giorgioravera.it
ServerAdmin giorgio@giorgioravera.it
- <Location />
- AuthType Basic
- AuthName "Area Protetta"
- AuthBasicAuthoritative on
- AuthBasicProvider ldap
-
- AuthLDAPURL "ldap://localhost/dc=giorgioravera,dc=it?uid"
- AuthLDAPGroupAttribute memberUid
- AuthLDAPGroupAttributeIsDN off
- #AuthLDAPMaxSubGroupDepth 10
- #AuthLDAPSubGroupAttribute memberUid
- #AuthLDAPSubGroupClass groupOfNames groupOfUniqueNames
- Require ldap-group cn=ssh,ou=Groups,dc=giorgioravera,dc=it
- #Require ldap-user xraver lalaura matteo
- </Location>
-
- ProxyPreserveHost On
-
- ProxyPass / http://webssh.giorgioravera.it:8888/
- ProxyPassReverse / http://webssh.giorgioravera.it:8888/
-
- #SSLProxyEngine on
- #ProxyPass / https://webssh.giorgioravera.it/
- #ProxyPassReverse / https://webssh.giorgioravera.it/
-
- RewriteEngine On
- RewriteCond %{HTTP:upgrade} websocket [NC]
- RewriteRule /(.*) ws://webssh.giorgioravera.it:8888/$1 [L,P]
- #RewriteRule /(.*) wss://webssh.giorgioravera.it/$1 [L,P]
+ SSLProxyEngine on
+ ProxyPass / https://webssh.giorgioravera.it/
+ ProxyPassReverse / https://webssh.giorgioravera.it/
+ ProxyPass / wss://webssh.giorgioravera.it/
+ ProxyPassReverse / wss://webssh.giorgioravera.it/
+
+ RewriteEngine on
+ RewriteCond %{HTTP:Upgrade} =websocket [NC]
+ RewriteRule /(.*) wss://webssh.giorgioravera.it/$1 [P,L]
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
<Directory /var/www/www.giorgioravera.it/htdocs>
Options FollowSymlinks
AllowOverride All
+ Require all granted
</Directory>
ScriptAlias /cgi-bin /var/www/www.giorgioravera.it/cgi-bin
# 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
+ ErrorLog ${APACHE_LOG_DIR}/error_www.log
+ CustomLog ${APACHE_LOG_DIR}/access_www.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to