IP:
|
10.225.10x.xx
|
Port:
|
1521
|
Username/Password:
|
xxx/xxx
|
Sid:
|
Jcoedb1
|
url:
|
jdbc:oracle:thin:@10.225.10x.xx:1521:xxx
|
Web Server
|
对外IP: xxx.xxx.xxx.xxx
对内IP:10.225.xxx.xxx
向internet开通80与443端口
|
App Server
|
对内IP: 10.225.xxx.xxx
只对10.225.段的ip开放8080,8009等端口,
|
Db Server
|
对内IP: 10.225.xxx.xxx
只对10.225.段的ip开放1521端口
|
#ServerName shnlap93.cts.com:80
|
ServerName 10.225.106.35:80
|
DocumentRoot "D:/tools/httpd/htdocs"
|
DocumentRoot "d:/www"
|
<html><body><h1>Hey man, apache works!</h1></body></html>
|
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
deny from all
</Directory>
|
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
</Directory>
|
Options FollowSymLinks indexes
|
#Options FollowSymLinks indexes
Options None
|
Options Indexes FollowSymLinks
|
#Options Indexes FollowSymLinks
Options None
|
LoadModule jk_module modules/mod_jk-1.2.31-httpd-2.2.3.so
JKWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
<VirtualHost *>
ServerAdmin localhost
DocumentRoot d:/www/
ServerName localhost
DirectoryIndex index.html index.htm index.jsp index.action
ErrorLog logs/shsc-error_log.txt
CustomLog logs/shsc-access_log.txt common
JkMount /*WEB-INF ajp13
JkMount /*j_spring_security_check ajp13
JkMount /*.action ajp13
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
JkMount /*.do ajp13
JkMount /*.action ajp13
JkMount /*fckeditor/editor/filemanager/connectors/*.* ajp13
JkMount /fckeditor/editor/filemanager/connectors/* ajp13
</VirtualHost>
|
workers.tomcat_home=d:/tomcat2
workers.java_home=C:/jdk1.6.32
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
|
<VirtualHost *>
ServerAdmin localhost
DocumentRoot d:/www/
ServerName localhost
DirectoryIndex index.html index.htm index.jsp index.action
ErrorLog logs/shsc-error_log.txt
CustomLog logs/shsc-access_log.txt common
JkMount /*WEB-INF ajp13
JkMount /*j_spring_security_check ajp13
JkMount /*.action ajp13
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
JkMount /*.do ajp13
JkMount /*.action ajp13
JkMount /*fckeditor/editor/filemanager/connectors/*.* ajp13
JkMount /fckeditor/editor/filemanager/connectors/* ajp13
</VirtualHost>
|
<Resource
driverClassName="oracle.jdbc.OracleDriver"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
maxActive="25" maxIdle="100" maxWait="5000" name="jdbc/eltds"
password="xxx"
type="javax.sql.DataSource"
url="jdbc:oracle:thin:@10.225.101.51:1521:jcoedb1"
username="xxx"/>
|
<Context crossContext="true" docBase="D:/upload" path="/uploadpic" reloadable="true"/>
<Context docBase="cbbs" path="/cbbs" reloadable="true"/>
|
<ResourceLink name="jdbc/cbbsds" type="javax.sql.DataSource" global="jdbc/cbbsds"/>
|