Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geschütze Dateien mit YCom Problem mit .htaccess #2

Closed
marcohanke opened this issue Sep 23, 2016 · 13 comments
Closed

Geschütze Dateien mit YCom Problem mit .htaccess #2

marcohanke opened this issue Sep 23, 2016 · 13 comments

Comments

@marcohanke
Copy link
Member

Ich muss leider noch was melden ;-(
Mit der Zeile RewriteRule ^/?media/(.*\.(pdf|xlsx|xls|ppt|docx|pptx|rar|mpp|eps|txt|rtf|pub|pubx|doc|zip))$ /index.php?fileName=$1 [L] in der .htaccess lassen sich keine xls, doc, docx, ... Dateien mehr am iPad Anzeigen. Es sind nur noch wirre Zeichen zu sehen. Nehme ich die Zeile raus, funktioniert alles wieder ...

@skerbis
Copy link
Member

skerbis commented Sep 23, 2016

Was meinst Du mit wirren Zeichen?

@skerbis
Copy link
Member

skerbis commented Sep 23, 2016

Nach REX_TEMPLATE[6] darf keine Leerzeile oder Leerzeichen sein.
Ich habe das mal ebend bei Dir korrigiert. Bitte prüfen.

@marcohanke
Copy link
Member Author

Nach wie vor das gleiche Problem ...
Darf nach REX_TEMPLATE generell keine Leerzeile sein ????

@staabm
Copy link
Member

staabm commented Sep 23, 2016

Darf nach REX_TEMPLATE generell keine Leerzeile sein ????

nur in binär-ausgaben (wie pdfs). funktionieren die gleichen pdfs im offiziellen adobe reader und in normalen desktop browsern?

@staabm
Copy link
Member

staabm commented Sep 23, 2016

sowas passiert z.b. auch wenn php warnungen sich mit dem pdf stream vermischen

@marcohanke
Copy link
Member Author

Am Desktop läufts

@staabm
Copy link
Member

staabm commented Sep 23, 2016

Am Desktop läufts

x-browser? oder im adobe reader?

@marcohanke
Copy link
Member Author

Direkt im Browser

@marcohanke
Copy link
Member Author

PDF wird im Browser angezeigt, docx wird zum Download angeboten.

@skerbis
Copy link
Member

skerbis commented Sep 23, 2016

Das scheint mir irgendwie systemspezifisch (Server?) zu sein. Auf meiner Website geht es in iOS. Ich bekomme angeboten es in Pages zu öffnen.

@marcohanke
Copy link
Member Author

Komisch, wenn ich die RewwriteRule raus nehme, bekomme ich die Datei angezeigt und die Auswahl "in Books öffnen". Wenn sie drin ist, kommt genanntes Problem. Nach Rücksprache mit dem Provider kann modrewrite doch "nur" Links umschreiben, ich wüsste nicht was ich da am System anpassen soll...

@marcohanke
Copy link
Member Author

Leider war’s das immer noch nicht ;-(

Am 23.09.2016 um 10:30 schrieb Thomas Skerbis notifications@github.com:

Es hatte sich bei Copy & Paste ein exit; eingeschlichen es sollte aber exit(); heißen ... hoffe das war's.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #2 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ACUEfd4GQgsTbUS51y57DAXPa7sMqOkbks5qs44rgaJpZM4KEsmi.

@skerbis
Copy link
Member

skerbis commented Sep 23, 2016

.... hat sich erledigt ... war ein Kommentar an falscher Stelle im Template der Website

@skerbis skerbis closed this as completed Sep 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants