<FilesMatch "\.(jpg|jpeg|png|gif)$"> Header set Cache-Control "max-age=37739520, public" </FilesMatch>
ma non riesco a mettere il file..Come leggete nelle guide, ora dobbiamo rinominare il file in questo modo:htaccess.txt >> DIVENTA >> .htaccessVediamo nello specifico.......
Se il sito risiede in un hosting configurato su Joomla il file non va modificato.Per altri hosting i valori da configurare sono 2:1) Options +FollowSymLinks2) # RewriteBase /Per il primo, Options +FollowSymLinks con server simili ad aruba basta commentare la riga con un # ottenendo:
# Options +FollowSymLinksPer il secondo, # RewriteBase / le configurazioni possibili sono 2:
1) Basta eliminare il commento alla riga (l’asterisco) ottenendo:
RewriteBase /
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@pizzeriabemitempi.it 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.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.3 (CentOS) Server at www.pizzeriabemitempi.it Port 80
Friendly URL per i motori di ricerca | No Si |
Utilizza mod_rewrite | No Si (http://www.pizzeriabemitempi.it/includes/js/ThemeOffice/warning.png) |
Aggiungi il suffisso agli URL | No Si |
#Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
#<FilesMatch "\.(jpg|jpeg|png|gif)$"> Header set Cache-Control "max-age=37739520, public" </FilesMatch>