Click to See Complete Forum and Search --> : [Resolved] apache refusing file upload?


lazzerous
03-18-2005, 11:51 AM
Please note that so far as I know, there have been no software updates to this box in the last 30 days.

As of one week ago, any form in any script on my box that has a file upload is failing.

By failing, I mean that when a user hits the submit button, it says the page cant be found.

All of these scripts worked before, and nothing has changed...

Is there anything in apache that could be causing this?

Has Anyone seen anything like this before?

Help?

id10t
03-18-2005, 02:10 PM
Assuming the file is in fact on the server in the location you are pointing to, does the user apache runs as (www-data, www, nobody, depends on the linux distro) have rights to read those files?

lazzerous
03-18-2005, 02:59 PM
Found a fix

I midified httpd.conf and added this:

<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288000
</Files>

Not sure why it wasnt there in the first place...

Thank you for responding though.