Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerAdmin admin@dogito.hu
- ServerName dogito.hu
- ServerAlias www.dogito.hu
- DocumentRoot /var/www/dogito.hu/public_html/
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
- <VirtualHost *:80>
- ServerName patrik2k.dogito.hu
- DocumentRoot "/var/www/phpmyadmin"
- ServerAlias www.patrik2k.dogito.hu
- # Other directives here
- <Directory /var/www/phpmyadmin/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
- <VirtualHost *:443>
- ServerAdmin admin@dogito.hu
- ServerName dogito.hu
- ServerAlias www.dogito.hu
- DocumentRoot /var/www/dogito.hu/public_html/
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/dogito.hu.crt
- SSLCertificateKeyFile /etc/apache2/ssl/dogito.hu.key
- </VirtualHost>
- <VirtualHost *:443>
- ServerName phpmyadmin.dogito.hu
- DocumentRoot "/var/www/phpmyadmin"
- ServerAlias www.patrik2k.dogito.hu
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/dogito.hu.crt
- SSLCertificateKeyFile /etc/apache2/ssl/dogito.hu.key
- # Other directives here
- <Directory /var/www/phpmyadmin/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement