Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 <VirtualHost *:80>
- 2 ServerAdmin asdflkajslkdfa@ajsdlkfjakls.com
- 3
- 4 DocumentRoot /var/www
- 5 <Directory />
- 6 Options FollowSymLinks
- 7 AllowOverride All
- 8 Allow from all
- 9 </Directory>
- 10 <Directory /var/www/>
- 11 Options Indexes FollowSymLinks MultiViews
- 12 AllowOverride All
- 13 Order allow,deny
- 14 allow from all
- 15 </Directory>
- 16
- 17 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- 18 <Directory "/usr/lib/cgi-bin">
- 19 AllowOverride None
- 20 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- 21 Order allow,deny
- 22 Allow from all
- 23 </Directory>
- 24
- 25 ErrorLog ${APACHE_LOG_DIR}/error.log
- 26
- 27 # Possible values include: debug, info, notice, warn, error, crit,
- 28 # alert, emerg.
- 29 LogLevel warn
- 30
- 31 CustomLog ${APACHE_LOG_DIR}/access.log combined
- 32
- 33 <Directory "/usr/share/phpPgAdmin">
- 34 AuthUserFile /etc/phpPgAdmin/.htpasswd
- 35 AuthName "Restricted Area"
- 36 AuthType Basic
- 37 require valid-user
- 38 </Directory>
- 39
- 40
- 41 </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement