http://192.168.1.254:8080/zgtt/ tomcat下http://192.168.1.254:81/ apache下
以上显示的页面是同一路径c:/myjsp的文件以上都没问题
tomcat目录下workers2.properties不会配置.(因为用了后缀/zgtt)-----------------------------------------------
[shm] file=${serverRoot}/logs/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:/*] worker=ajp13:localhost:8009
-----------------------------------------------------------如果用以上配置,输入http://192.168.1.254:81/时,会跑到tomcat默认的主目录,这不是我要的
我在localhost后添/zgtt,输入http://192.168.1.254:81/时提示出错.
The server encountered an internal error or misconfiguration and was unable to complete your request. --------------------------------------------------------------------------------以上问题不知如何处理,请教大家.
以上显示的页面是同一路径c:/myjsp的文件以上都没问题
tomcat目录下workers2.properties不会配置.(因为用了后缀/zgtt)-----------------------------------------------
[shm] file=${serverRoot}/logs/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:/*] worker=ajp13:localhost:8009
-----------------------------------------------------------如果用以上配置,输入http://192.168.1.254:81/时,会跑到tomcat默认的主目录,这不是我要的
我在localhost后添/zgtt,输入http://192.168.1.254:81/时提示出错.
The server encountered an internal error or misconfiguration and was unable to complete your request. --------------------------------------------------------------------------------以上问题不知如何处理,请教大家.
workers.java_home=G:\language\java #让mod_jk模块知道j2sdk
ps=\
worker.list=ajp13 #模块版本,现有ajp14了,不要修改
worker.ajp13.port=8009 #工作端口,若没占用则不用修改
worker.ajp13.host=localhost #本机,若上面的Apache主机不为localhost,作相应修改
worker.ajp13.type=ajp13 #类型
worker.ajp13.lbfactor=1 #代理数,不用修改