Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is in the default vhost.conf there is no default ssl.conf!:
- NameVirtualHost *:80
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www/
- <Directory />
- Options +FollowSymLinks +MultiViews
- AllowOverride all
- </Directory>
- <Directory /var/www/>
- Options +Indexes +FollowSymLinks +MultiViews
- AllowOverride all
- #Order allow,deny
- #allow from all
- Require all granted
- </Directory>
- #### error-log instellingen
- ErrorLog /var/log/apache2/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog /var/log/apache2/access.log combined
- ServerSignature On
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options +Indexes +MultiViews +FollowSymLinks
- AllowOverride all
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- </VirtualHost>
- ############################
- #from here the vhosts for other vhosts without ssl
- #vanaf hier de virtual hosts voor de diverse domeinnamen neerzetten die op de server staan -----
- ##### ##### ##### ###### ####
- <VirtualHost *:80>
- DocumentRoot "/var/www/www.h-kracht.nl/www"
- ServerName www.h-kracht.nl
- ServerAlias www.h-kracht.nl h-kracht.nl
- <Directory "/var/www/www.h-kracht.nl/www">
- Options -Indexes
- AllowOverride all
- </Directory>
- LogLevel alert rewrite:trace3
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement