Restriction Of Protected/

Hi all:

I’ve just recently been playing around with yii. I figured that instead of showing a forbidden error page for protected/, I could have mod_rewrite return the user to /index.php. I was wondering if there’s a downside to this approach.

Anyone else tried this before? Appreciate your input to the matter. Thanks.