> Tomas Kuliavas a écrit : > > >>> hello >>> >>> sorry if this was already answered, i got hundreds of results with >>> whatever keywords i tried to put into the search. >>> >>> i installed squirrelmail and everything went very smoothly. however, >>> i have a serious problem now that it's installed. >>> >>> my webserver allows cacheing (am i spelling this right?) by default >>> for both html and php pages. this was a decision i made long ago >>> because i feel that dynamic pages are an exception rather then the >>> rule on my server and sending a no-cache header is something that >>> should be done anyway whenever needed. >>> >>> as a result, squirrelmail is really unusable. EVERYTHING is cached. >>> even clicking on the check mail link has no effect. if i disable >>> cacheing in my browser, everything seems to work great. >>> >>> ok, sorry it took so long. my question is, how do i set up >>> squirrelmail to send no-cache headers or meta tags with the pages? is >>> there a header file i can modify and if not, which files will i have >>> to change? >>> >>> i tried a grep for 'cach' but got a lot of stuff that is about at >>> least two other kinds of cacheing i know nothing about. >>> >>> >> >> functions/page_header.php file displayHtmlHeader() function. add php >> header() call before doctype. find other places with doctype and add >> header there too. >> >> >> > thank you very much, works great. > > may i suggest puting this in the documentation? i am willing to write it > up.
http://www.squirrelmail.org/docs/phpdoc/squirrelmail/_functions_page_header_php.html#functiondisplayHtmlHeader -- Tomas ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
