Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

while trying to use an ErrorDocument to handle the request.

apache静态文件可以访问,但动态文件请求不到

今天晚上配置apache连jboss时,发现apache的静态文件可以访问,但是访问动态的文件却访问不了。我到网上查,大部分的都说是httpd.conf文件中的
<Directory />
Options FollowSymlinks Includes

AllowOverride None
#Order allow,deny
#Allow from all

< /Directory>
的下面两行注释了,如上所示,但我试了还是没有效果。后来没办法,请教了我们公司的总监,经过他一通查之后,发现我apache的代理模块没有开,
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

按照这个文档配置不起作用,是怎么回事了呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...