Apache生产配置

httpd.conf

 httpd-vhosts.conf

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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<VirtualHost *:80>
    ServerName pcicard.pcidata.cn
    DirectoryIndex index.php index.html
    DocumentRoot "/fs01/webGeneralCard"
    ProxyRequests off
    ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/fs01/webGeneralCard/$1
    <Directory "/fs01/webGeneralCard">
        AllowOverride All
        Require all granted
    </Directory>
    <Location /application/>
     Order allow,deny
     Deny from all
    </Location>
    ErrorLog "/etc/httpd/logs/pcicard.pcidata.cn-error_log"
    CustomLog "/etc/httpd/logs/pcicard.pcidata.cn-access_log" combined
</VirtualHost>
 
 
<VirtualHost *:80>
    ServerName xilu.pcimall.cn
    DirectoryIndex index.php index.html
    DocumentRoot "/fs01/xilu"
    ProxyRequests off
    ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/fs01/xilu/$1
    <Directory "/fs01/xilu">
        AllowOverride All
        Require all granted
    </Directory>
#    <Location /application/>
#     Order allow,deny
#     Deny from all
#    </Location>
    ErrorLog "/etc/httpd/logs/xilu.pcimall.cn-error_log"
    CustomLog "/etc/httpd/logs/xilu.pcimall.cn-access_log" combined
</VirtualHost>
 
 
<VirtualHost *:80>
    ServerName keyless.pcidata.cn
    DirectoryIndex index.php index.html
    DocumentRoot "/fs01/keyless"
    ProxyRequests off
    ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/fs01/keyless/$1
    <Directory "/fs01/keyless">
        AllowOverride All
        Options Indexes FollowSymLinks MultiViews
        Require all granted
    </Directory>
        <Location /application/>
        Order allow,deny
        Deny from all
        </Location>
    ErrorLog "/etc/httpd/logs/keyless.pcidata.cn-error_log"
    CustomLog "/etc/httpd/logs/keyless.pcidata.cn-access_log" combined
</VirtualHost>
 
<VirtualHost *:80>
    ServerName pcitech.pcidata.cn
    DirectoryIndex index.php index.html
    DocumentRoot "/fs01/pcitech_keyless"
    ProxyRequests off
    ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/fs01/pcitech_keyless/$1
    <Directory "/fs01/pcitech_keyless">
        AllowOverride All
        Options Indexes FollowSymLinks MultiViews
        Require all granted
    </Directory>
        <Location /application/>
        Order allow,deny
        Deny from all
        </Location>
    ErrorLog "/etc/httpd/logs/pcitech_keyless.pcidata.cn-error_log"
    CustomLog "/etc/httpd/logs/pcitech_keyless.pcidata.cn-access_log" combined
</VirtualHost>
 
 
<VirtualHost *:80>
    ServerName push.pcimall.cn
    DirectoryIndex index.php index.html
    DocumentRoot "/fs01/mpp"
    ProxyRequests off
    ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/fs01/mpp/$1
    <Directory "/fs01/mpp">
        AllowOverride All
        Options Indexes FollowSymLinks MultiViews
        Require all granted
    </Directory>
        <Location /application/>
        Order allow,deny
        Deny from all
        </Location>
   <Directory "/fs01/mpp">
    Header always append X-Frame-Options DENY
   </Directory>
    ErrorLog "/etc/httpd/logs/push.pcimall.cn-error_log"
    CustomLog "/etc/httpd/logs/push.pcimall.cn" combined
</VirtualHost>
 
 
<VirtualHost *:80>
    ServerName zhaj.pcidata.cn
    DirectoryIndex index.php index.html
    DocumentRoot "/fs01/zhaj_keyless"
    ProxyRequests off
    ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/fs01/zhaj_keyless/$1
    <Directory "/fs01/zhaj_keyless">
        AllowOverride All
        Options Indexes FollowSymLinks MultiViews
        Require all granted
    </Directory>
        <Location /application/>
        Order allow,deny
        Deny from all
        </Location>
    ErrorLog "/etc/httpd/logs/zhaj_keyless.pcidata.cn-error_log"
    CustomLog "/etc/httpd/logs/zhaj_keyless.pcidata.cn-access_log" combined
</VirtualHost>
 
 
<VirtualHost *:80>
    ServerName yctminiapp.pcidata.cn
    DirectoryIndex index.php index.html
    DocumentRoot "/fs01/YCTMINI"
    ProxyRequests off
    ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/fs01/YCTMINI/$1
    <Directory "/fs01/YCTMINI">
        AllowOverride All
        Options Indexes FollowSymLinks MultiViews
        Require all granted
    </Directory>
        <Location /application/>
        Order allow,deny
        Deny from all
        </Location>
    ErrorLog "/etc/httpd/logs/YCTMINI.pcidata.cn-error_log"
    CustomLog "/etc/httpd/logs/YCTMINI.pcidata.cn-access_log" combined
</VirtualHost>
 
 
<VirtualHost *:80>
    ServerName yctdz.pcidata.cn
    DirectoryIndex  index.html
    DocumentRoot "/fs01/yctstore"
    ProxyRequests off
    ProxyPass /lyk http://56.16.30.63:8080/lyk
    ProxyPassReverse /lyk http://56.16.30.63:8080/lyk
    <Directory "/fs01/yctstore">
        AllowOverride All
        Options Indexes FollowSymLinks MultiViews
        Require all granted
    </Directory>
        <Location /application/>
        Order allow,deny
        Deny from all
        </Location>
    ErrorLog "/etc/httpd/logs/yctdz.pcidata.cn-error_log"
    CustomLog "/etc/httpd/logs/yctdz.pcidata.cn-access_log" combined
</VirtualHost>

 

posted @   西门运维  阅读(378)  评论(0编辑  收藏  举报
编辑推荐:
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· AI与.NET技术实操系列(六):基于图像分类模型对图像进行分类
历史上的今天:
2017-12-04 linux的tar命令
点击右上角即可分享
微信分享提示