Last active
March 19, 2019 03:45
-
-
Save Jirido/a6a8db952f6195de08c84573b1502e3d to your computer and use it in GitHub Desktop.
my http vhost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin servermom@protonmail.com | |
ServerName paradize.net | |
ServerAlias www.paradize.net | |
DocumentRoot /servu/wowi/public_html | |
DirectoryIndex /index.php index.php | |
ErrorLog /servu/wowi/logs/httpd-error.log | |
CustomLog /servu/wowi/logs/httpd-access.log combined | |
<Directory "/servu/wowi/public_html"> | |
AllowOverride none | |
Options All | |
Require all granted | |
</Directory> | |
RewriteEngine on | |
RewriteCond %{SERVER_NAME} =paradize.net [OR] | |
RewriteCond %{SERVER_NAME} =www.paradize.net | |
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment