apache weblogicCannot open TEMP post file '/tmp错误处理
是tmp目录下权限不够,执行chmod 777 -R -f temp后,就ok了,
?
或通过设置下面的参数在apache和weblogic整合的mod中,加一个参数FileCache 设置成off就ok了,不推荐此方式
?
Cannot open TEMP post file '/tmp/_wl_proxy/_post_245824_1_1235046331_624' for POST of 7991 bytes
?
?
<VirtualHost *>
??? ServerName www.test.com
??? DocumentRoot /sun/docdir/www
??? AddDefaultCharset utf-8
??? CustomLog "|/usr/local/cronolog/sbin/cronolog /home/logs/access%Y%m%d.log" combined
??????? MaxPostSize -1
??? <Directory "/sun/docdir/www/">
???? Options FollowSymLinks +Includes
???? AllowOverride None
???? Order allow,deny
???? Allow from all
??? </Directory>
??? RewriteEngine on
??? RewriteLogLevel 1
??? RewriteLog "/home/logs/rewrite_www.log"
??? <IfModule mod_weblogic.c>
??????? WebLogicHost 192.168.0.252
??????? WebLogicPort 8080
??????? WLTempDir /home/logs
??????? PathPrepend /www
??????? FileCaching OFF
??????? WebLogicCluster 192.168.0.252:8080
??????? MatchExpression *.do
??????? MatchExpression *.jsp
??????? MatchExpression *.action
??????? MatchExpression */slt*
??? </IfModule>
</VirtualHost>