Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo apache2ctl -S
- VirtualHost configuration:
- *:80 zethanath.tk (/etc/apache2/sites-enabled/000-default.conf:1)
- *:443 is a NameVirtualHost default server zethanath.tk (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
- port 443 namevhost zethanath.tk (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
- alias www.zethanath.tk
- alias servlet.zethanath.tk
- port 443 namevhost zethanath.tk (/etc/apache2/sites-enabled/default-ssl.conf:2)
- port 443 namevhost www.zethanath.tk (/etc/apache2/sites-enabled/default-ssl.conf:140)
- ServerRoot: "/etc/apache2"
- Main DocumentRoot: "/var/www/html"
- Main ErrorLog: "/var/log/apache2/error.log"
- Mutex rewrite-map: using_defaults
- Mutex ssl-stapling-refresh: using_defaults
- Mutex ssl-stapling: using_defaults
- Mutex proxy: using_defaults
- Mutex ssl-cache: using_defaults
- Mutex default: dir="/var/lock/apache2" mechanism=fcntl
- Mutex watchdog-callback: using_defaults
- Mutex proxy-balancer-shm: using_defaults
- PidFile: "/var/run/apache2/apache2.pid"
- Define: DUMP_VHOSTS
- Define: DUMP_RUN_CFG
- User: name="www-data" id=33
- Group: name="www-data" id=33
- <IfModule mod_ssl.c>
- <VirtualHost _default_:443>
- ServerAdmin erick9.hi5@gmail.com
- ServerName zethanath.tk
- ProxyPreserveHost On
- ProxyPass / http://192.168.1.70:8080/index//
- ProxyPassReverse / http://192.168.1.70:8080/index//
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- 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/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- <FilesMatch ".(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- </VirtualHost>
- <VirtualHost _default_:443>
- ServerAdmin erick9.hi5@gmail.com
- ServerName www.zethanath.tk
- ProxyPreserveHost On
- ProxyPass / http://192.168.1.70:8080/index//
- ProxyPassReverse / http://192.168.1.70:8080/index//
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- 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/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- <FilesMatch ".(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- </VirtualHost>
- </IfModule>
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName zethanath.tk
- ServerAlias www.zethanath.tk servlet.zethanath.tk
- ProxyPreserveHost On
- ProxyPass / http://192.168.1.70:8080/index//
- ProxyPassReverse / http://192.168.1.70:8080/index//
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLCertificateFile /etc/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- </IfModule>
- <VirtualHost *:80 >
- ServerName zethanath.tk
- ServerAlias www.zethanath.tk servlet.zethanath.tk
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- #JKMount /* ajp13_worker
- # 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
- RewriteEngine on
- RewriteCond %{SERVER_NAME} =zethanath.tk
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI}
- [END,NE,R=permanent]
- </VirtualHost>
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
- 127.0.0.1 localhost
- 127.0.1.1 erick-ASRock-N68C-GS4-FX
- 192.168.1.70 zethanath.tk
- # The following lines are desirable for IPv6 capable hosts
- ::1 ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- http://192.168.1.70:8080/index/
- http://servlet.zethanath.tk
- Unable to Connect
- Your Apache server is running on www.example.com
- Your Tomcat server is running on servlet.example.com:8080
- Your GWT module has a `<rename-to="myapp">`
- You have one RPC servlet, mapped into /myapp/myService
- ProxyPass /MyApp/myapp/myService (http)://servlet.example.com:8080/MyApp/myapp/myService
- ProxyPassReverse /MyApp/myapp/myService (http)://servlet.example.com:8080/MyApp/myapp/myService
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #DocumentRoot /var/www/html
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLCertificateFile /etc/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- <VirtualHost *:443>
- ServerName (www).zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #DocumentRoot /var/www/html
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLCertificateFile /etc/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- <VirtualHost *:443>
- ServerName servlet.zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #DocumentRoot /var/www/html
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLCertificateFile /etc/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- </IfModule>
- <IfModule mod_ssl.c>
- <VirtualHost _default_:443>
- ServerAdmin erick9.hi5@gmail.com
- ServerName zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #DocumentRoot /var/www/html
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLEngine on
- SSLCertificateFile /etc/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- <FilesMatch ".(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- </VirtualHost>
- <VirtualHost _default_:443>
- ServerAdmin erick9.hi5@gmail.com
- ServerName (www).zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #DocumentRoot /var/www/html
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLEngine on
- SSLCertificateFile /etc/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- <FilesMatch ".(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- </VirtualHost>
- <VirtualHost _default_:443>
- ServerAdmin erick9.hi5@gmail.com
- ServerName servlet.zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #DocumentRoot /var/www/html
- JKMount /* ajp13_worker
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLEngine on
- SSLCertificateFile /etc/letsencrypt/live/zethanath.tk/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/zethanath.tk/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- <FilesMatch ".(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- </VirtualHost>
- </IfModule>
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
- <VirtualHost *:80 >
- ServerName zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #ServerAdmin erick9.hi5@gmail.com
- #DocumentRoot /var/www/html
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- #JKMount /* ajp13_worker
- RewriteEngine on
- RewriteCond %{SERVER_NAME} =zethanath.tk
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
- <VirtualHost *:80 >
- ServerName (www).zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #ServerAdmin erick9.hi5@gmail.com
- #DocumentRoot /var/www/html
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- #JKMount /* ajp13_worker
- RewriteEngine on
- RewriteCond %{SERVER_NAME} =(www).zethanath.tk
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
- <VirtualHost *:80 >
- ServerName servlet.zethanath.tk
- ServerAlias zethanath.tk
- ProxyPreserveHost On
- ProxyPass / (http)://192.168.1.70:8080/Index//
- ProxyPassReverse / (http)://192.168.1.70:8080/Index//
- #ServerAdmin erick9.hi5@gmail.com
- #DocumentRoot /var/www/html
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- #JKMount /* ajp13_worker
- RewriteEngine on
- RewriteCond %{SERVER_NAME} =zethanath.tk
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement