Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- ServerName blabla.de
- ServerAlias *.blabla.de
- DocumentRoot /var/www/blabla/
- ErrorLog ${APACHE_LOG_DIR}/blabla_error.log
- CustomLog ${APACHE_LOG_DIR}/blabla_access.log combined
- </VirtualHost>
- <VirtualHost *:443>
- SSLEngine on
- ServerAdmin webmaster@localhost
- ServerName blabla.de
- ServerAlias *.blabla.de
- DocumentRoot /var/www/blabla/
- ErrorLog ${APACHE_LOG_DIR}/blabla_error.log
- CustomLog ${APACHE_LOG_DIR}/blabla_access.log combined
- </VirtualHost>
- <Directory /var/www/blabla>
- Options Indexes FollowSymLinks MultiViews
- AuthType Basic
- AuthName "Geben Sie Benutzername und Passwort ein"
- AuthUserFile /etc/apache2/.htpasswd
- Require valid-user
- Order deny,allow
- Deny from all
- Allow from 192.168.176.0/24
- Allow from 192.168.177.0/24
- Allow from 192.168.178.0/24
- Satisfy all
- </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement