24,923
社区成员
发帖
与我相关
我的任务
分享
NameVirtualHost *:8002
<VirtualHost *:8002>
ServerAdmin webmaster@zbphp.com
DocumentRoot "D:/FTP/zbphp.com/wwwroot"
ServerName zbphp.com
ServerAlias zbphp.com
ErrorLog "D:/FTP/zbphp.com/logs/error.log"
CustomLog "D:/FTP/zbphp.com/logs/access.log" common
</VirtualHost>
<Service name="Catalina">
<Connector port="80" protocol="HTTP/1.1"
maxThreads="150" connectionTimeout="20000"
redirectPort="8443" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Engine name="Catalina" defaultHost="jsxymgh.3322.org">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<!--域名1-->
<Host name="jsxymgh.3322.org" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<!--默认访问-->
<Context path ="" debug="0" docBase ="/test1" reloadable="true" privileged="true">
</Context>
</Host>
<!--域名2-->
<Host name="chinamgh.3322.org" appBase="D:/1"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<!--默认访问-->
<Context path ="" debug="0" docBase ="/test2" reloadable="true" privileged="true">
</Context>
</Host>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
</Engine>
</Service>