Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Upload Files


Message #1 by Rodrigob <rodrigob@l...> on 22 Jan 2003 07:18:08 -0200
> hi! when i upload a file biggest than php.ini allow, the apache of
> redhat 8.0 return a message of error like "File biggest blabla", how i
> configure to return my system error page(not the apache page) if the
> user send a big file??


If the error message Apache serves you is a specific HTTP error, you can use
the ErrorDocument configuration directive to specify which page to display.
The most common use for this is for custom 404 (not found) error pages.

http://httpd.apache.org/docs/mod/core.html#errordocument


Take care,

nik


  Return to Index