1
1
2
- ***
3
- ## httpd.conf Virtual Host
2
+ ### httpd.conf Virtual Host
3
+
4
4
***
5
5
``` httpd.conf
6
6
@@ -20,18 +20,15 @@ Listen 80
20
20
#SSLOptions +StdEnvVars
21
21
#Options Indexes FollowSymLinks MultiViews
22
22
23
-
24
23
AllowOverride All
25
-
26
-
27
-
28
-
24
+
25
+
29
26
</Directory>
30
27
31
28
<IfModule dir_module>
32
29
33
- DirectoryIndex index.php index.html index.shtml
34
- DirectoryIndex HomeServer. html
30
+ DirectoryIndex HomeServer.html
31
+ DirectoryIndex index.php index. html index.shtml
35
32
# DirectoryIndex
36
33
# DirectoryIndex
37
34
# DirectoryIndex public install installer
@@ -66,16 +63,37 @@ ErrorDocument 403 /403.html
66
63
#</VirtualHost>
67
64
68
65
<VirtualHost *:80>
69
- ServerName SampleMTDBNew.com
70
66
71
- ServerAlias SampleMTDBNew.com
72
- ServerAdmin admin@localhost
67
+ ServerName www.SampleEmailAddresses.net
68
+ ServerAlias www.SampleEmailAddresses.net
69
+ ServerAdmin admin@SampleEmailAddresses.net
70
+
71
+ DocumentRoot "C:/Users/Credit/Documents/#Server(htdocs)(www)/SampleEmailAddresses.net"
72
+ <Directory "C:/Users/Credit/Documents/#Server(htdocs)(www)/SampleEmailAddresses.net">
73
+
74
+ Options Indexes FollowSymLinks MultiViews
75
+
76
+ AllowOverride All
73
77
78
+
79
+ </Directory>
80
+ </VirtualHost>
81
+
82
+
83
+ <VirtualHost *:80>
84
+
85
+ #ServerName SampleMTDBNew.com
86
+ #ServerAlias SampleMTDBNew.com
87
+ #ServerAdmin admin@localhost
88
+
89
+ ServerName www.Sample-MTDB.Ultimate.com
90
+ ServerAlias www.Sample-MTDB.Ultimate.com
91
+ ServerAdmin admin@Sample-MTDB.Ultimate.com
92
+
74
93
DocumentRoot "C:/Users/Credit/Documents/#Server(htdocs)(www)/mtdb"
75
- <Directory "C:/Users/Credit/Documents/#Server(htdocs)(www)/mtdb">
94
+ <Directory "C:/Users/Credit/Documents/#Server(htdocs)(www)/mtdb">
76
95
77
- #SSLOptions +StdEnvVars
78
- #Options Indexes FollowSymLinks MultiViews
96
+ Options Indexes FollowSymLinks MultiViews
79
97
80
98
AllowOverride All
81
99
0 commit comments