Portál AbcLinuxu, 25. října 2025 10:33
AddType text/html html
RewriteEngine on
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteRule \.html$ - [T=application/xhtml+xml]
tak uz gzip zazracne nefunguje a stranky server posiela nekomprimovane. Jedinym riesenim ako posielat header s mime type je pomocou php - header('Content-Type: ' . 'application/xhtml+xml' . '; charset=' . $charset);
Ale ja nechem linkovat ten header do kazdeho html/php suboru, raddsej by som pouzil globalne ten .htaccess zapis
Riesil niekto takyto problem?
Na otázku zatím nikdo bohužel neodpověděl.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.