anyone know how to set a custom 403 page for when users are denied from an access rule?
since CAccessControlerFilter throws a CHttpException in method accessDenied it appears the only option would be to extend CAccessControlerFilter, overwrite accessDenied and have Yii use that class. But i cannot figure out how to tell Yii to use my new class instead of the CAccessControlerFilter class.
thanks tommy, that’s perfect. i had originally tried that but it wasn’t until i read section 3 in that link u provided that i realized that when you generate an app using Yii that it sets a custom error handler for you. once i removed that it worked perfectly