Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName mag.nightdestiny.ru
- DocumentRoot /var/www/html/shop
- ErrorLog /var/log/apache2/error_shop.log
- CustomLog /var/log/apache2/access_shop.log combined
- Redirect / https://mag.nightdestiny.ru/
- </VirtualHost>
- <VirtualHost *:443>
- ServerAdmin [email protected]
- ServerName mag.nightdestiny.ru
- DocumentRoot /var/www/html/shop
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Directory /var/www/html/shop/>
- 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>
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/shop.pem
- SSLCertificateKeyFile /etc/apache2/ssl/shop.key
- ErrorLog /var/log/apache2/error_shop.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog /var/log/apache2/access_shop.log combined
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment