1
votes

i am running apache server with nginx as reverse proxy on ubuntu 10LTS . i am running php as fast cgi through apache module fcgid. When i try to upload a file greater than 16MB it gives me internal server error. which is

[warn] [client 59.99.25.15] mod_fcgid: HTTP request length 16784462 (so far) exceeds MaxRequestLen (16777216), referer: www..com/upload.php

Means there is problem in fcgid mod so i changed the fcgid.conf present in /etc/apache2/mods-available/fcgid.conf

I tried

FcgidMaxRequestLen 1073741824

and also MaxRequestLen 1073741824

and still i am getting the same error,please help me to sort out this issue.

1

1 Answers

2
votes

Restart your Apache server after adding the FcgidMaxRequestLen 1073741824.