Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #this is /etc/apache2/sites-enabled/gorfy.net.conf
- <VirtualHost *:80>
- ServerName gorfy.net
- ServerAlias www.gorfy.net
- ServerAdmin [email protected]
- DocumentRoot /var/www/html/gorfy.net/www/
- <Directory /var/www/html/gorfy.net/www/>
- php_admin_value open_basedir /var/www/html/gorfy.net/:/tmp/
- Options -Indexes +FollowSymLinks -MultiViews
- AllowOverride none
- Order allow,deny
- allow from all
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- </Directory>
- ErrorLog /var/log/apache2/gorfy.net-error.log
- LogLevel warn
- CustomLog /var/log/apache2/gorfy.net-access.log combined
- ServerSignature off
- Redirect permanent / https://www.gorfy.net/
- RewriteCond %{SERVER_NAME} =gorfy.net [OR]
- RewriteCond %{SERVER_NAME} =www.gorfy.net
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
- #<VirtualHost *:80>
- # ServerName zm.gorfy.net
- # ServerAlias zm.gorfy.net
- #
- # ProxyPreserveHost on
- # ProxyPass / http://192.168.1.86/zm/
- # ProxyPassReverse / http://192.168.1.86/zm/
- #</VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment