-
Notifications
You must be signed in to change notification settings - Fork 0
/
vh2
32 lines (25 loc) · 841 Bytes
/
vh2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<VirtualHost *:80>
ServerAdmin samson_ude@yahoo.com
DocumentRoot "/var/www/html/americabackend"
DirectoryIndex index.html index.php
ServerName americabackend.samsonude.dev
Redirect / https://americabackend.samsonude.dev
<Directory "/var/www/html/americabackend">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
Require all granted
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
</Directory>
RewriteCond %{SERVER_NAME} =americabackend.samsonude.dev
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>