主题 : apacge+tomcat 配置jeecms |
级别: 秀才
|
1# 发表于:2010-04-14 15:55:48 IP:124.13.*.*
|
||||
---|---|---|---|---|---|
级别: 白丁
|
2# 发表于:2010-04-14 20:23:44 IP:59.244.*.*
apache和tomcat的整合是否正确?
单独用tomcat端口访问jeecms可以正常显示吗? |
||
---|---|---|---|
级别: 秀才
|
3# 发表于:2010-04-15 10:02:06 IP:124.13.*.*
apache,tomcat配置是正确的.我已经测试过了,用tomcat也可以直接访问jeecms
|
||
---|---|---|---|
级别: 秀才
|
4# 发表于:2010-04-15 10:09:56 IP:124.13.*.*
apache,tomcat配置是正确的.我已经测试过了,用tomcat也可以直接访问jeecms 就是apaceh+tomcat不行.报,禁止访问.apache,相关配置如下 Alias /jeecms C:/xx/xx/jeecms <VirtualHost 127.0.0.4:8090> DocumentRoot C:/xx/xx/jeecms #您的站点项目所在路径,应与tomcat中的目录设置相同 ServerName 127.0.0.4:8090 ErrorLog logs/shsc-error_log.txt CustomLog logs/shsc-access_log.txt common JkMount /servlet/* ajp13 #让Apache支持对servlet传送,用以Tomcat解析 JkMount /*.jsp ajp13 #让Apache支持对jsp传送,用以Tomcat解析 JkMount /*.do ajp13 JkMount /*.action ajp13 JkMount /*.* ajp13 #让Apache支持对.do传送,用以Tomcat解析 </VirtualHost> <Directory "C:/xx/xx/jeecms"> Options FollowSymLinks AllowOverride FileInfo Order allow,deny Allow from all </Directory> tomcat配置文件里,一定是正确的,我就不往上贴了. |
||
---|---|---|---|
级别: 白丁
|
5# 发表于:2010-04-17 09:47:24 IP:112.253.*.*
Hi,Man.
I think you config the apache server incorrectly. You can have a try. # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "C:/xx/xx/jeecms" # First, we configure the "default" to be a very restrictive set of # features. # <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory>(This section no need to change.) # This should be changed to whatever you set DocumentRoot to. # <Directory "C:/A_D_dick_develop/eclipse_php_project"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks Includes ExecCGI # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> |
||
---|---|---|---|
1
共1页