How to Disable Cookies in Apache
When you use certain applications or access certain websites, text-based information can be stored on a computer. In Apache, in the mod_cache configuration file, you can set no cookies to be stored within the cache. This is the only part of Apache you can completely disable cookies in as cookies are designated by individual Web applications. Therefore you should disable cookies on an individual basis for other applications, if you use any at all.
Instructions
-
-
1
Open the command line Terminal on your Apache server, or connect via the secure shell using your server's login details.
-
2
Type "vi /mod_cache" and press "Enter." This opens the mod_cache configuration file.
-
-
3
Locate the "CacheIgnoreHeaders" line and ensure that it reads "CacheIgnoreHeaders None" rather than with a value following the ignore command.
-
4
Press "Esc." Type ":w" and then ":q" to save and exit.
-
1