ServerName www.sieci.pb
ServerAlias sieci.pb
DocumentRoot /var/www/html
Alias "/tajne" "/var/www/html/tajne"
AuthType Basic
AuthName "Strefa Chroniona"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
AuthType Basic
AuthName "Tajne Studenta"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
ServerName strona1.sieci.pb
DocumentRoot /var/www/html/strona1
ServerName strona2.sieci.pb
DocumentRoot /var/www/html/strona2
ServerName 192.168.100.10
DocumentRoot /var/www/html/ip1
ServerName 192.168.100.11
ServerName ip2.sieci.pb
DocumentRoot /var/www/html/ip2
ServerName www.sieci.pb
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key