Share » Forums » General » Redirect to homepage if access to an...

Redirect to homepage if access to an extension is denied

Redirect to homepage if access to an extension is denied

Tuesday 05 June 2007 12:34:00 pm - 2 replies

Author Message

Bruce Morrison

Tuesday 05 June 2007 4:27:31 pm

Hi Carlos

Permissions are handled before the module views are run, so to do what you are asking you'd have allow all users to access the view(s) and redirect dependant on the user.

If you were willing to redirect all "access denied" access to the homepage you can setup this behaviour in error.ini. Doesn't appear to be documentated but the comments in the main ini file should give enough info for you to get by.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Carlos Revillo

Wednesday 06 June 2007 3:12:56 am

hi. thanks a lot. it worked.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu