Skip to content

Instantly share code, notes, and snippets.

@Jirido
Last active March 19, 2019 03:45
Show Gist options
  • Save Jirido/a6a8db952f6195de08c84573b1502e3d to your computer and use it in GitHub Desktop.
Save Jirido/a6a8db952f6195de08c84573b1502e3d to your computer and use it in GitHub Desktop.
my http vhost
<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