D7net Mini Sh3LL v1
Current File : /var/www/html/../../../etc/apache2/sites-available/000-default-ssl.conf |
<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 webmaster@localhost
DocumentRoot /var/www/html
# 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>
<VirtualHost *:443>
DocumentRoot /var/www/html/hpsclab/
ServerName hpsclab.uniparthenope.it
#ServerAlias www.hpsclab.uniparthenope.it
#AssignUserID wwwrun www
AssignUserID morsea morsea
# Redirect / https://morsea.uniparthenope.it
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/html/hpsclab/>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Deny from 193.239.80.37
</Directory>
<FilesMatch “(authorize|cron|install|upgrade)\.php”>
Order deny,allow
deny from all
Allow from 127.0.0.1
Allow from 192.168.0.0/16
</FilesMatch>
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/hpsclab_uniparthenope_it_cert.cer
SSLCertificateKeyFile /etc/apache2/ssl/hpsclab.uniparthenope.it.key
SSLCACertificateFile /etc/apache2/ssl/hpsclab_uniparthenope_it_interm.cer
CustomLog /var/log/apache2/hpsclab-ssl-access.log combined
ErrorLog /var/log/apache2/hpsclab-ssl-error.log
</VirtualHost>
<VirtualHost *:443>
DocumentRoot /var/www/html/antarctic-drupal-7.89/
ServerName morsea.uniparthenope.it
#AssignUserID wwwrun www
AssignUserID morsea morsea
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/apache2/ssl/morsea_uniparthenope_it_cert.cer
SSLCertificateKeyFile /etc/apache2/ssl/morsea.uniparthenope.it.key
# 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
# 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/apache2/ssl/morsea_uniparthenope_it_interm.cer
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/antarctic-drupal-7.89/>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Deny from 193.239.80.37
</Directory>
<FilesMatch “(authorize|cron|install|upgrade)\.php”>
Order deny,allow
deny from all
Allow from 127.0.0.1
Allow from 192.168.0.0/16
</FilesMatch>
CustomLog /var/log/apache2/morsea-access.log combined
ErrorLog /var/log/apache2/morsea-error.log
</VirtualHost>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName informatica.uniparthenope.it
ServerAlias www.informatica.uniparthenope.it
AssignUserID informatica informatica
DocumentRoot /var/www/html/informatica/
ErrorLog ${APACHE_LOG_DIR}/informatica.error.log
CustomLog ${APACHE_LOG_DIR}/informatica.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/ssl/certs/informatica_uniparthenope_it.crt
SSLCertificateFile /etc/apache2/ssl/informatica_uniparthenope_it_cert.cer
SSLCACertificateFile /etc/apache2/ssl/informatica_uniparthenope_it_interm.cer
SSLCertificateKeyFile /etc/apache2/ssl/informatica.uniparthenope.it.key
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/html/informatica/>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Deny from 193.239.80.37
</Directory>
<FilesMatch “(authorize|cron|install|upgrade)\.php”>
Order deny,allow
deny from all
Allow from 127.0.0.1
Allow from 192.168.0.0/16
</FilesMatch>
CustomLog /var/log/apache2/informatica-access.log combined
ErrorLog /var/log/apache2/informatica-error.log
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
AnonSec - 2021 | Recode By D7net