here are the errordocuments i have declared in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/87ErrorDocument
ErrorDocument 401 /error.php?error=401 ErrorDocument 403 /error.php?error=403 ErrorDocument 404 /error.php?error=404 ErrorDocument 500 /error.php?error=500 then I have an error.php that take the input of that error number to create a custom message by using /filename.ext it looks in the root of the current web site for the document also allowed are a complete url or a text string for the error ErrorDocument 404 http://www.domain.com/404error_message.html or a text string for the error ErrorDocument 404 "You have tried a url that has been disconnected or is no longer in service, check your url and try again or call the operator to help you" Hsing-Foo Wang wrote: >Hi Brandon, > >Don't know for sure, but..... > >did you take a look at this thread >http://www.e-smith.org/bboard/read.php?f=3&i=11974&t=11623 > >Otherwise it's a apache config thing.... > >Maybe it get's you goin' > >Gegroet, >Hsing-Foo > > >>-----Oorspronkelijk bericht----- >>Van: Brandon Friedman [mailto:[EMAIL PROTECTED]] >>Verzonden: dinsdag 14 mei 2002 22:07 >>Aan: Mitel Devinfo List >>Onderwerp: [e-smith-devinfo] Creating custom error message >> >> >>When user tries to connect to a site enforcing SSL, but use http://, >>they get: >> >>Forbidden >>You don't have permission to access /spgroupware on this server. >> >>How do create a custom message that allows the user to click >>on a link >>or something like that? >>-- >> >>Regards >>Brandon Friedman >>Cell:083 408 7840 >>E-mail: [EMAIL PROTECTED] >>www.bfconsult.co.za >> >> >>-- >>Please report bugs to [EMAIL PROTECTED] >>Please mail [EMAIL PROTECTED] (only) to discuss security >>issues Support for registered customers and partners to >>[EMAIL PROTECTED] To unsubscribe, e-mail: >>[EMAIL PROTECTED] >>For additional commands, e-mail: >>[EMAIL PROTECTED] Archives by mail and >> >http://www.mail-archive.com/devinfo%40lists.e-smith.org > > > >-- >Please report bugs to [EMAIL PROTECTED] >Please mail [EMAIL PROTECTED] (only) to discuss security issues >Support for registered customers and partners to [EMAIL PROTECTED] >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org > > -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
