Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www/html
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- # Acceso irrestricto
- # politica general, aplica a sub directorios
- <Directory /var/www/html>
- Require all granted
- </Directory>
- # Difiere de la politica general de html.
- <Directory /var/www/html/gerencia>
- Order deny,allow
- Deny from all
- Allow from 190.20.0.0/25
- </Directory>
- <Directory /var/www/html/descargas>
- AuthType Basic
- AuthName "Acceso restringido"
- AuthUserFile /etc/apache2/httpasswd
- Require user gerencia ventas
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement