apache proxyPass去除jsessionid影响

RewriteEngine on
RewriteRule ^([^;]*);jsessionid=.*$ /var/www/html$1

 

 

 

RewriteEngine on
RewriteRule /ginsara/images/(.*);jsessionid=.*$ /var/www/html/ginsara/images/$1
RewriteRule /ginsara/js/(.*);jsessionid=.*$ /var/www/html/ginsara/js/$1
RewriteRule /ginsara/swf/(.*);jsessionid=.*$ /var/www/html/ginsara/swf/$1
RewriteRule /ginsara/material/(.*);jsessionid=.*$ /var/www/html/ginsara/material/$1
RewriteRule /kamatora/images/(.*);jsessionid=.*$ /var/www/html/kamatora/images/$1
RewriteRule /kamatora/js/(.*);jsessionid=.*$ /var/www/html/kamatora/js/$1
RewriteRule /kamatora/swf/(.*);jsessionid=.*$ /var/www/html/kamatora/swf/$1
RewriteRule /kamatora/material/(.*);jsessionid=.*$ /var/www/html/kamatora/material/$1

 

参考资料:http://blog.csdn.net/hu_zhenghui/archive/2007/09/28/1805547.aspx

你可能感兴趣的:(apache proxyPass去除jsessionid影响)