Portál AbcLinuxu, 14. května 2025 02:33
Na urovni Apache nevim, ale na urovni php (kazde jednotlive stranky) mi uspesne chodi nasledujici kombinace http hlavicek:
<?header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s")." GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache");?>
Marek
ExpiresActive On ExpiresDefault "access plus 1 seconds"ale hazi mi to chybu 500:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, mail and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/1.3.26 Server at www.katalogmodelek.cz Port 80Co dal?
Co dal?
More information about this error may be available in the server error log.
/var/log/apache*
AllowOverride AllSyntax pro zakaz cache je tedy v poradku?
ExpiresActive On ExpiresDefault "access plus 1 seconds"
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.