-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapache_conf.conf
More file actions
29 lines (28 loc) · 1.01 KB
/
apache_conf.conf
File metadata and controls
29 lines (28 loc) · 1.01 KB
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
<VirtualHost local2:80>
ServerName test.com
ServerAlias www.test.com
DocumentRoot /data/www/wwwroot/zencart/www.test.com
ErrorLog /var/log/web/www.test.com-error-log
CustomLog /var/log/web/www.test.com-access-log combined
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /data/www/wwwroot/zencart/www.test.com>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
allow from all
AllowOverride All
RewriteEngine on
</Directory>
</VirtualHost>
<VirtualHost 192.168.56.22:80>
ServerName baidu.org
ServerAlias www.baidu.org
DocumentRoot /data/www/wwwroot/zencart/www.baidu.org
ErrorLog /var/log/web/www.baidu.org-error-log
CustomLog /var/log/web/www.baidu.org-access-log combined
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /data/www/wwwroot/zencart/www.baidu.org>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
allow from all
AllowOverride All
RewriteEngine on
</Directory>
</VirtualHost>