Here's a quick and dirty example. They're pretty much just generated on
the fly tho. If I remember correctly though if the error document is
small, then often Internet Explorer will replace it with its own
"Friendly" error page. So it needs to be above 512bytes or something.
<VirtualHost...
... some config stuff....
ErrorDocument 404 /404.php
ErrorDocument 500 /errordocs/500.html
....
</VirtualHost>
On Thu, 2002-09-19 at 16:37, Will Pilvio wrote:
> Depends on the version a bit.
>
> type :
> locate httpd.conf
> to find your default config file
>
> in httpd.conf read the bit about
> ErrorDocument
> and
> Alias /error/
>
>
> in v 2, often the error messages are in the error/ subdir under the apache
> base install.
> - generally defaulting to /usr/local/httpd/error/
>
> Hope this helps,
> Will
>
> At 15:31 2002-09-19 +1200, Adam wrote:
>
> >Where do I find the default server pages for apache in a std install of
> >Mandrake SNF, I would assume that they would be in the same place as any
> >other distro& but I have no idea where to start looking. By server pages&
> >I mean the 500 Server Eroor etc&
> >
> >
> >
> >
> >
> >Cheers
> >
> >Adam
> >
> >
>
>
> --
> Will Pilvio
> 12 Somerton Rise, Christchurch, New Zealand
> [EMAIL PROTECTED]
> Tel. & Fax: +64 (3) 338 0288
> Mobile: +64 21 230 3131
> ----
>
> This message has been 'sanitized'. This means that potentially
> dangerous content has been rewritten or removed. The following
> log describes which actions were taken.
>
> Sanitizer (start="1032409925"):
> Replaced MIME boundary: >>Boundary_<<
> with: >>MIMEStream=_0+245757_93979259924067_5697456421<<
> Writer (pos="2645"):
> Total modifications so far: 1
>
> Part (pos="2685"):
> SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
> Match (rule="9"):
> Enforced policy: accept
>
>
> Anomy 0.0.0 : Sanitizer.pm
> $Id: Sanitizer.pm,v 1.54 2002/02/15 16:59:07 bre Exp $