customlog logs/dummy-host.example.com-access_log common
</virtualhost>
注意documentroot一行要与自己的tomcat安装目录一致。
directoryindex一行是为了自动解释jsp类型的文件。
(5)在c:\apache2\conf目录下新建一个文件,一定命名为workers2.properties。 workers2.properties内容如下:
[shm]
file=${serverroot}/logs/shm.file
size=1048576
# example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009