Log in | Register | Lost password

Bottom
Request Entity Too Large
  • Posted: 21.05.2003, 01:11
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I get the following message when trying to upload some jpg's:

    Request Entity Too Large
    The requested resource
    /index.php
    does not allow request data with POST requests, or the amount of data
    provided in the request exceeds the capacity limit.

    The error message is only displayed on my webserver when using the Mozilla web browser. Windows clients say "no data" when I try to upload the same image. The server is running Linux 9 apache/2.0.40

    Is there a way to fix this??


  • Posted: 21.05.2003, 07:30
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Haven't seen this one before. But it probably means that your Apache server won't handle the images you are uploading because the total size of them are too large.

    Try uploading smaller images or fewer images.

    I have not been able to find any configuration for Apache that can change this.
  • Posted: 21.05.2003, 15:34
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Thanks for looking. My HP 720 digital camera is saving jpeg files at over 1 meg. If I open the jpeg with Microsoft Paint and resave it as jpg is will reduce the size to under 500kb. Apache appeared to be happy with images under 500kb.

    On the downside while dealing with all this I somehow messed up linux or photoshare. When I clear the cache on a client then try to view the images on the site I get a broken images. I guess the directory index must have been messed up when I tried loading large files.

    You may want to warn apache users that there maybe a problem with files of 500kb.
  • Posted: 22.05.2003, 07:14
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    If you need to clean up the mess you can delete the images (using Photoshare) and then upload again. The delete will probably complain but should work anyhow.
  • Posted: 22.05.2003, 13:35
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I deleted the messages and everything is ok again. Thanks for the help.

    Photoshare is getting rave reviews from my friends who have seen the site.

Template courtesy of Designs By Darren.