I plan to add the caching module in Apache2.
If I add the following lines in the Configuration it works fine.
SetEnvIf Request_URI !\.(|pdf|jpg|jpeg|png|gif|)$ no-cache CacheEnable disk / CacheRoot /var/cache/apache2/mod_disk_cache CacheIgnoreCacheControl On CacheMaxFileSize 2500000 CacheIgnoreHeaders Set-Cookie
But the problem is that Apache2 cache the Files for every new session of my JBoss Application. I searched for this problem and the solution is to add the following line in the Apache config.
And this is my problem, if I add this line I got the following message by Apache restart.
**Invalid command 'CacheIgnoreURLSessionIdentifiers', perhaps misspelled or defined by a module not included in the server configuration**
The cache and the disk_cache module is active. Do I need any other module to use CacheIgnoreURLSessionIdentifiers or is it only available in a newer Apache version?
Best regards Benny
Apache2 Version: 2.2.12-1.40.1
SLES 11 SP3