Jump to content

Improve compatibility of downloads and CloudFlare


PatrickRQ

Recommended Posts

After further reading I found solution here: 

 

Lowering max_post_size solves the issue, however there is still place for improvements because we may not want to generally decrease max_post_size for entire size but for uploads only, therefore I suggest to make in-app specific configs to force by Downloads only.

This is explained here: .htaccess - php specific function / url / file max post size? - Stack Overflow in the answer marked as solution.

Link to comment
Share on other sites

.htaccess workaround for those looking for a temp solution:

<If "^%{REQUEST_URI} == '/files/file/*' AND %{QUERY_STRING} == 'do=newVersion'$ OR ^%{REQUEST_URI} == '/files/submit/*' AND %{QUERY_STRING} == 'do=submit&category=(.+)'$">
    php_value post_max_size 50M
</If>

Would be good it IPS could implement it as in-app options.

I believe Download app should run on rules defined by Admin, to make him able decide when upload as chunks, without affecting entire site PHP settings.

Edited by PatrickRQ
Link to comment
Share on other sites

  • 5 months later...

@Marc StridgenThere is actually an issue I reported somewhere but can't find. When file is uploaded on junk basis, the IPS will display file record name as example 46456346346_filename.rar

It adds some numbered prefix to file name we must correct each time we upload files on junk basis. Can you please fix it?

Edited by PatrickRQ
Link to comment
Share on other sites

  • 4 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...