You need to sign in to do that
Don't have an account?
the_wolf
URL rewriter Class return Unauthorized page
Hi all,
I have created a UrlRewriterClass for my force.com site. It works correctly properly for most of the web site pages.
But I do not understand why on some returns Unauhorized page.
It has already happened to someone?
Thanks in advance for reply!
An unauthorization error can display for two reasons, either there is an error in the URL Rewriter on there is an error in the page being displayed.
You can use standard apex debug statements to narrow down the problem.
If you're still not having any luck finidng the issue, I suggest posting the simplest example possible to reproduce the problem and a member of the community may be able to help you.
Here's my UrlRewriterClass:
In my class, I use a custom object "esa_Pagine__c" which has the name of all visualforce pages and a custom field which has the name we want after the url rewriting.
Another field contains a picklist which "filter" the visualforce pages , based on the dynamic content in there.
The problem is only when Contenuto__c = 'statico' (example: page CONTACTS)
Here is my site:
http://blucamp.bitmovers.cs2.force.com/camperusati/?lang=en
Thanks in advance at all.