|
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" |
3 | 3 | DirectoryIndex index.php |
4 | | - ServerName example.org |
5 | | - ServerAlias www.example.org |
| 4 | + ServerName app.test |
| 5 | + ServerAlias www.app.test |
6 | 6 |
|
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 |
9 | 9 |
|
10 | 10 | # Redirect to https |
11 | 11 | #RewriteEngine On |
12 | 12 | #RewriteCond %{HTTPS} off |
13 | 13 | #RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L] |
14 | 14 |
|
15 | | - <Directory "D:/www/example.org/public"> |
| 15 | + <Directory "D:/web/app.test/public"> |
16 | 16 | Options Indexes FollowSymLinks MultiViews |
17 | 17 | AllowOverride all |
18 | 18 | Order Deny,Allow |
|
21 | 21 | </Directory> |
22 | 22 | </VirtualHost> |
23 | 23 |
|
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 |
28 | 28 |
|
29 | 29 | SSLEngine on |
30 | 30 | SSLCertificateFile "conf/ssl.crt/server.crt" |
31 | 31 | SSLCertificateKeyFile "conf/ssl.key/server.key" |
32 | 32 |
|
33 | | - <Directory "D:/www/example.org/public"> |
| 33 | + <Directory "D:/web/app.test/public"> |
34 | 34 | Options Indexes FollowSymLinks MultiViews |
35 | 35 | AllowOverride all |
36 | 36 | Order Deny,Allow |
|
0 commit comments