Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Properly setting up Apache2 to avoid upload timeouts with Microsoft OneDrive

Properly setting up Apache2 to avoid upload timeouts with Microsoft OneDrive

Scheduled Pinned Locked Moved Web Development
helpperlhtmlapacheios
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SergioQ
    wrote on last edited by
    #1

    I have a simple Perl script that uploads a file from an HTML form, and it does works. i.e Uploads a file from my local Mac HD to my web server via a webpage. What I have noticed, however, if I try to upload files from Microsoft's OneDrive I am more likely to get the following info below. I have no problems using my OneDrive via Mac's Finder, or my iPhone, etc. access.log [14/Feb/2022:23:36:51 -0500] "POST /cgi-bin/upload2.pl HTTP/1.1" 408 487 "http://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" error.log [Mon Feb 14 23:37:02.121496 2022] [cgi:error] [pid 3734:tid 140367391328000] (70007)The timeout specified has expired: [client -.-.-.-:58184] AH01225: Error reading request entity data, referer: http://example.com/ My Apache2 settings are:

    Timeout 300
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 5

    At my slim level of knowledge of Apache, I am assuming that my problem is all about timing. If that's the case, can I change settings above to help? Or am I off base? *One small thing I noticed, but I don't know if it means anything My web browser says:

    Quote:

    Server timeout waiting for the HTTP request from the client. and it mentions port 80.

    However, in the error.log it mentions port 58184. I don't know if that's normal, due to routers, other routine behavior.

    L P 2 Replies Last reply
    0
    • S SergioQ

      I have a simple Perl script that uploads a file from an HTML form, and it does works. i.e Uploads a file from my local Mac HD to my web server via a webpage. What I have noticed, however, if I try to upload files from Microsoft's OneDrive I am more likely to get the following info below. I have no problems using my OneDrive via Mac's Finder, or my iPhone, etc. access.log [14/Feb/2022:23:36:51 -0500] "POST /cgi-bin/upload2.pl HTTP/1.1" 408 487 "http://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" error.log [Mon Feb 14 23:37:02.121496 2022] [cgi:error] [pid 3734:tid 140367391328000] (70007)The timeout specified has expired: [client -.-.-.-:58184] AH01225: Error reading request entity data, referer: http://example.com/ My Apache2 settings are:

      Timeout 300
      KeepAlive On
      MaxKeepAliveRequests 100
      KeepAliveTimeout 5

      At my slim level of knowledge of Apache, I am assuming that my problem is all about timing. If that's the case, can I change settings above to help? Or am I off base? *One small thing I noticed, but I don't know if it means anything My web browser says:

      Quote:

      Server timeout waiting for the HTTP request from the client. and it mentions port 80.

      However, in the error.log it mentions port 58184. I don't know if that's normal, due to routers, other routine behavior.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      This is the same question you posted three days ago; please do not repost. If you have information to add or update then please edit the original.

      S 1 Reply Last reply
      0
      • L Lost User

        This is the same question you posted three days ago; please do not repost. If you have information to add or update then please edit the original.

        S Offline
        S Offline
        SergioQ
        wrote on last edited by
        #3

        Honestly, I looked for it here, and couldn't find it. So I thought I must have not hit submit. I can't post an image here, but when I look at My Questions, it says zero. Ergo an honest mistake...though why doesn't it show either question?

        L 1 Reply Last reply
        0
        • S SergioQ

          Honestly, I looked for it here, and couldn't find it. So I thought I must have not hit submit. I can't post an image here, but when I look at My Questions, it says zero. Ergo an honest mistake...though why doesn't it show either question?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Questions in the forums are listed under "My Messages"; the "My Questions" link is for questions in the Quick Answers section.

          S 1 Reply Last reply
          0
          • L Lost User

            Questions in the forums are listed under "My Messages"; the "My Questions" link is for questions in the Quick Answers section.

            S Offline
            S Offline
            SergioQ
            wrote on last edited by
            #5

            Ok, well, I'll say the syntax then is strange. But I understand the wrongs of double posting. I'll wait an hour to make sure you see this...then delete the double post. Really, an honest mistake out of desperation. Have posted this question to so many forums, I've forgotten which ones...and haven't gotten a single reply. Your reply to me was my. hopes going up, then quickly dashed. Thanks for understanding

            1 Reply Last reply
            0
            • S SergioQ

              I have a simple Perl script that uploads a file from an HTML form, and it does works. i.e Uploads a file from my local Mac HD to my web server via a webpage. What I have noticed, however, if I try to upload files from Microsoft's OneDrive I am more likely to get the following info below. I have no problems using my OneDrive via Mac's Finder, or my iPhone, etc. access.log [14/Feb/2022:23:36:51 -0500] "POST /cgi-bin/upload2.pl HTTP/1.1" 408 487 "http://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" error.log [Mon Feb 14 23:37:02.121496 2022] [cgi:error] [pid 3734:tid 140367391328000] (70007)The timeout specified has expired: [client -.-.-.-:58184] AH01225: Error reading request entity data, referer: http://example.com/ My Apache2 settings are:

              Timeout 300
              KeepAlive On
              MaxKeepAliveRequests 100
              KeepAliveTimeout 5

              At my slim level of knowledge of Apache, I am assuming that my problem is all about timing. If that's the case, can I change settings above to help? Or am I off base? *One small thing I noticed, but I don't know if it means anything My web browser says:

              Quote:

              Server timeout waiting for the HTTP request from the client. and it mentions port 80.

              However, in the error.log it mentions port 58184. I don't know if that's normal, due to routers, other routine behavior.

              P Offline
              P Offline
              Peter_in_2780
              wrote on last edited by
              #6

              Check with the Apache httpd wiki[^], and if you can't find it there, hit the users mailing list[^]

              Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups