• Resolved gianni333

    (@gianni333)


    I have the problem that downloads of digital products which take longer than 5 minutes are canceled, which results in corrupted .zip archives.

    I just found out that the reason for this is that the server is programmed to cancel all php scripts after 5 minutes execution time.

    I asked the server host company about this and they suggested to start the download of the files directly from the server instead of starting the download with the woocommerce php script.

    Is something like this possible and would the download links still be protected like they are now?

    Thanks in advance for all answers:)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    There’s not a way to use those methods on the server directly, no.

    Have you tried using the other methods (redirection and direct download) ?

    Thread Starter gianni333

    (@gianni333)

    @slash1andy thank you for the info ?? I have tried the other methods when I set the site up in july, but I ran into other issues, that’s why I used the x-accel/-redirect in the first place.

    I have now just moved my site to a cloudhosting where I can adjust the execution limit and now everything works perfectly.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    That’s great to hear!

    Glad you are sorted ??

    Thread Starter gianni333

    (@gianni333)

    Yap me too, thank you ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Starting x-accel-redirect/x-sendfile from the server directly’ is closed to new replies.