1.57.7 .htaccess server invalid command |
Post Reply |
Author | |
digizar
Senior Member Joined: Dec 30 2015 Location: Germany Frankfu Status: Offline Points: 739 |
Post Options
Thanks(0)
Posted: Apr 07 2017 at 8:40pm |
My Domain provider *one.com* refused the web.page.
It turned out that the .htaccess contained an 'invalid' entry (for that domain): # You can delete the following block if your hosting provider is not Free.fr: That whole following block (bold) could/should/must be removed - Project ... Htaccess ... Properties ... #Protect .htaccess <Files .htaccess> order allow,deny deny from all </Files> #FreeScript AddType video/ogg .ogg AddType video/ogg .ogv AddType video/mp4 .mp4 AddType video/mp4 .m4v AddType video/mp4 .mov AddType video/webm .webm #FreeScript AddDefaultCharset UTF-8 <IfDefine !Free> <IfModule mod_headers.c> Header set Cache-Control "private, max-age=0, must-revalidate" Header set X-UA-Compatible "IE=8; IE=9; IE=10" </IfModule> </IfDefine> Header add "disablevcache" "true"# You can delete the following block if your hosting provider is not Free.fr: <IfDefine Free> php56 1 </IfDefine> _____________________________ Edited by digizar - Apr 07 2017 at 8:51pm |
|
___________________________________
Ask questions only if there is no answer yet. https://blumendigi.com |
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
Hi,
Did you have all this on one line: Header add "disablevcache" "true"# You can delete the following block if your hosting provider is not Free.fr: or was it in two lines: Header add "disablevcache" "true" # You can delete the following block if your hosting provider is not Free.fr: Could you try to just delete # You can delete the following block if your hosting provider is not Free.fr: and leave the following to test if the page will work that way:
To edit this, use Project->Htaccess and edit the Default entry. |
|
digizar
Senior Member Joined: Dec 30 2015 Location: Germany Frankfu Status: Offline Points: 739 |
Post Options
Thanks(0)
|
Yes, it appeared in one line, directly appended to my content, no space in between.
Since it took me 'some time' to find out (finally with the help of one.com), I had the impression that someone else could be trapped, too. So I made it public. I removed the whole chunk (as recommended). Probably I installed the openElement-1577 in setup version 'french'? I tried to re-add the line as you requested, but on a new line. It works fine. So the culprit might be that my instruction did not end with a complete new line. The file content might have just ended right after the "true" w/o line termination. The Header add "disablevcache" "true" is a requirement of my provider, so he enables an instant access to newly uploaded file. Otherwise I would have to wait 5 minutes to see the modified version online. Else, all my five websites converted and are running ok with 1577. No modifications were neccessary. That IS a GREAT TOOL. Edited by digizar - Apr 08 2017 at 2:07pm |
|
___________________________________
Ask questions only if there is no answer yet. https://blumendigi.com |
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(1)
|
Yes it is very important that you reported this one, I will fix is ASAP (by adding a new line before #).
|
|
digizar
Senior Member Joined: Dec 30 2015 Location: Germany Frankfu Status: Offline Points: 739 |
Post Options
Thanks(0)
|
I would recommend, to add such newline before any of the parameter/blocks you intersperse. I hope it is not too late this time. On the other hand, man can not think about every constellation. Edited by digizar - Apr 08 2017 at 2:14pm |
|
___________________________________
Ask questions only if there is no answer yet. https://blumendigi.com |
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
It's fixed for next version that will hopefully be released in a couple of days
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |