Re: [users@httpd] configure internal server error to automatically email me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have this in .htaccess:

ErrorDocument 400 /errhand/error.php?400
ErrorDocument 401 /errhand/error.php?401
ErrorDocument 403 /errhand/error.php?403
ErrorDocument 404 /errhand/error.php?404
ErrorDocument 500 /errhand/error.php?500

/errhand/error.php is in the document root, so you can make that anything.

HTH

Gerry



On 1/14/06, Jeff Lacki <jeep@xxxxxxxxx> wrote:
> Thanks Kieth.  That appears to be what needs to be done,
> however, after I tried this, I found the following issues:
>
> If I say:
>
> ErrorDocument   500     "http://www.mysite.com/cgi-bin/err500.pl";
>
> I get an Alert that pops up saying:
>
> Redirection limit for this URL exceeded. Unable to load the requested
> page.  This my be caused by cookies that are blocked.
>
> My cookies arent blocked (as far as I know because i use them
> with other stuff on my XP box)  THis is using Netscape 7.2
>
>
> If I do:
>
> Alias   /scripts/ "/home/http/myscripts"
> ErrorDocument   500     "/scripts/err500.pl"
>
> It seems to continue to use the apache default page.
>
> If you get this working, please let me know.
> Ill do the same.  Thanks again,
> Jeff
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>


--
Gerry
http://portal.danen.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux