DOCX, XLSX Datein downloaden

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

DOCX, XLSX Datein downloaden

Postby viggo2502 » 29. April 2013 13:36

Hallo Wissende,

mein xampp läuft auf einem WinXP SP3, so weit so gut.
Ich habe auch mehrere Office Dokumente eingebunden, die bei Klick gedownloadet werden.

Das funktioniert super bei *.doc und*.xls Dateien.
Liegen diese Dateien aber im *.docx, *.dotx oder *.xlsx vor erscheinen entweder Hyroglyphen
oder aber sie werden als zip-Download angezeigt.

Jetz habe ich schon im Netz gestöbert und auch mehrere Einträge gefunden,
wom man gewisse Sache zu den neuen Datei-Typen in dei .htacces eintragen soll.
Wenn ich das tue und die .htaccess ist aktiv funktioniert aber meine Seite nicht mehr.

Muss da noch mehr drin stehen als das hier, damit die Seite funktioiniert?
Es ist ein kleines Intranet, wo alle User ohne Anmeldung drauf zu greifen sollen.

Code: Select all
AddHandler x-httpd-php5.3 .php


".manifest", "application/manifest"
".xaml", "application/xaml+xml",
".application",  "application/x-ms-application",
".deploy", "application/octet-stream"
".xbap", "application/x-ms-xbap"

".docm","application/vnd.ms-word.document.macroEnabled.12"
".docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"
".dotm","application/vnd.ms-word.template.macroEnabled.12"
".dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"
".potm","application/vnd.ms-powerpoint.template.macroEnabled.12"
".potx","application/vnd.openxmlformats-officedocument.presentationml.template"
".ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"
".ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"
".ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"
".pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"
".pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"
".xlam","application/vnd.ms-excel.addin.macroEnabled.12"
".xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"
".xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"
".xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
".xltm","application/vnd.ms-excel.template.macroEnabled.12"
".xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"


Was gibt es für Lösungen. Bitte nicht umwandeln in pdf?
Meine Mitarbeiter sollen diese Dateien asl Vorlagen nutzen.

Alle Dateien liegen im htdocs Ordner bzw. in Unterordnern.

Vielen Dank für die Tips
viggo2502
 
Posts: 1
Joined: 29. April 2013 13:28
Operating System: WIN XP

Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 42 guests