|
|
(2 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
− | == Comment configurer le type MIME opendocument sur un serveur Apache ==
| |
| | | |
− | Si vous rencontrez des problèmes de reconnaissance des fichiers OOo par certains navigateurs (tentative d'ouverture comme un fichier zip par exemple), vous devez éditer le fichier Apache httpd.conf.
| |
− | Ce fichier se trouve habituellement dans le répertoire : /etc/httpd/conf sur un serveur Linux ou [ProgramInstallation]\apache\conf sur un serveur Windows.
| |
− |
| |
− |
| |
− | Ajouter les lignes suivantes dans la section httpd.conf à l'intérieur de <IfModule mod_mime.c> :
| |
− |
| |
− | AddType application/vnd.oasis.opendocument.text .odt
| |
− | AddType application/vnd.oasis.opendocument.text-template .ott
| |
− | AddType application/vnd.oasis.opendocument.text-web .oth
| |
− | AddType application/vnd.oasis.opendocument.text-master .odm
| |
− | AddType application/vnd.oasis.opendocument.graphics .odg
| |
− | AddType application/vnd.oasis.opendocument.graphics-template .otg
| |
− | AddType application/vnd.oasis.opendocument.presentation .odp
| |
− | AddType application/vnd.oasis.opendocument.presentation-template .otp
| |
− | AddType application/vnd.oasis.opendocument.spreadsheet .ods
| |
− | AddType application/vnd.oasis.opendocument.spreadsheet-template .ots
| |
− | AddType application/vnd.oasis.opendocument.chart .odc
| |
− | AddType application/vnd.oasis.opendocument.formula .odf
| |
− | AddType application/vnd.oasis.opendocument.database .odb
| |
− | AddType application/vnd.oasis.opendocument.image .odi
| |
− |
| |
− | Penser à relancer le serveur Apache pour prendre en compte ces modifications.
| |