Skip to content

Commit 85ebca3

Browse files
authored
Apache domain virtualhost
1 parent af26a7e commit 85ebca3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

apache/conf/extra/vhosts/example.org.conf renamed to apache/conf/extra/vhosts/app.test.conf

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<VirtualHost 127.0.0.11:80>
2-
DocumentRoot "D:/www/example.org/public"
1+
<VirtualHost 127.0.0.10:80>
2+
DocumentRoot "D:/web/app.test/public"
33
DirectoryIndex index.php
4-
ServerName example.org
5-
ServerAlias www.example.org
4+
ServerName app.test
5+
ServerAlias www.app.test
66

7-
ErrorLog "D:/www/example.org/storage/logs/example.org.error.log"
8-
CustomLog "D:/www/example.org/storage/logs/example.org.access.log" common
7+
ErrorLog "D:/web/app.test/storage/logs/app.test.error.log"
8+
CustomLog "D:/web/app.test/storage/logs/app.test.access.log" common
99

1010
# Redirect to https
1111
#RewriteEngine On
1212
#RewriteCond %{HTTPS} off
1313
#RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]
1414

15-
<Directory "D:/www/example.org/public">
15+
<Directory "D:/web/app.test/public">
1616
Options Indexes FollowSymLinks MultiViews
1717
AllowOverride all
1818
Order Deny,Allow
@@ -21,16 +21,16 @@
2121
</Directory>
2222
</VirtualHost>
2323

24-
<VirtualHost 127.0.0.11:443>
25-
DocumentRoot "D:/www/example.org/public"
26-
ServerName example.org
27-
ServerAlias www.example.org
24+
<VirtualHost 127.0.0.10:443>
25+
DocumentRoot "D:/web/app.test/public"
26+
ServerName app.test
27+
ServerAlias www.app.test
2828

2929
SSLEngine on
3030
SSLCertificateFile "conf/ssl.crt/server.crt"
3131
SSLCertificateKeyFile "conf/ssl.key/server.key"
3232

33-
<Directory "D:/www/example.org/public">
33+
<Directory "D:/web/app.test/public">
3434
Options Indexes FollowSymLinks MultiViews
3535
AllowOverride all
3636
Order Deny,Allow

0 commit comments

Comments
 (0)