apache + tomcat 整合后JSP页面可以显示页面里的图片都不能显示,用图片地址连接出现下面的错误(连接地址是对的)
Not Found
The requested URL /ad/1227334535688-733.9286_min.jpg was not found on this server.
...全文
47010打赏收藏
apache tomcat 显示图片
apache + tomcat 整合后JSP页面可以显示页面里的图片都不能显示,用图片地址连接出现下面的错误(连接地址是对的) Not Found The requested URL /ad/1227334535688-733.9286_min.jpg was not found on this server.
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
ErrorLog logs/error.log
LogLevel warn
<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
<Directory "d:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
#To be added at the end of your httpd.conf
Include "d:/Program Files/Apache Software Foundation/Tomcat 5.0/conf/jk/mod_jk.conf-auto"
--------------------------
有可能是apache 的配置不对我也不知道改什么地方 ,谢谢大家!