actually I am using Pylons 0.8.2. I didn't check the latest Pylons
version error handling techniques.

I just want to show 404 on wrong URL request, and also I don't want
the pylons web application to send any email on wrong URL request. i.e

[DEFAULT]
debug = true
email_to = [EMAIL PROTECTED]
smtp_server = localhost
error_email_from = [EMAIL PROTECTED]

 just want to show 404 to user.

Can I handle the wrong URL requests using new Pylons and Paste
version?

Regards,
Muhammad Iqbal

On Apr 28, 5:06 am, "Shannon -jj Behrens" <[EMAIL PROTECTED]> wrote:
> On 4/25/07, Muhammad <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
>
> > Can any body help in this.
>
> > If some body requesting a page likehttp://www.domain.com/wpad.dat, or
> > any other page request which is not exist "Wrong URL".
>
> > Then my application returning .
>
> > An Error Occurred
>
> > 500: Internal Server Error
>
> > And I am receiving an email with subject "WebApp Error:
> > myghty.exception.TopLev ..."
>
> > Is that possible.
> > 1) To get rid of these to many emails?
> > 2) Can i redirect to home page when somebody requested wrong URL?
> > 3) Is there any other way to handle wrong URL in pylons?
>
> > Thanks
>
> It sounds like something is wrong with your Pylons application.  When
> I requesthttp://myserver.com/wpad.dat, I get a 404.  Did you delete
> the stuff that handles 404s?
>
> -jj
>
> --http://jjinux.blogspot.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to