亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    Linux系統(tǒng)Tomcat同個域名下添加站點(diǎn)實(shí)例分析

    修改apache-tomcat-7.0.88/conf/server.xml,

    在Service 后面添加一個Service 標(biāo)簽

       <Service name="Catalina2">        <Connector port="8081" protocol="HTTP/1.1"                 connectionTimeout="20000"                 redirectPort="8443" />           	 <Connector port="8010" protocol="AJP/1.3" redirectPort="8443" />          <Engine name="Catalina" defaultHost="域名">                 <Realm className="org.apache.catalina.realm.LockOutRealm">          <!-- This Realm uses the UserDatabase configured in the global JNDI               resources under the key "UserDatabase".  Any edits               that are performed against this UserDatabase are immediately               available for use by the Realm.  -->          <Realm className="org.apache.catalina.realm.UserDatabaseRealm"                 resourceName="UserDatabase"/>        </Realm>      	    	    	  <Host name="域名" appBase="webapps" unpackWARs="true" autoDeploy="true">  		<Context path="" docBase="網(wǎng)站所在目錄" reloadable="true" >  	</Context>  	<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"   	prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t &quot;%r&quot; %s %b" />  	</Host>      	  	        </Engine>    </Service>
    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號