> Is it possible to declare a default site access rule in ezp3
> site.ini or elsewhere to cope with URIs that do not match
> any of the required patterns like "admin" or "user" in order
> to decide which access path to follow? I could not find an > answer in the docs.
Yes. In site.ini, under [siteSettings]
# Which page to show when the root index is accessed IndexPage=/content/view/sitemap/2/
# What to do when a module does not exists, use either defaultpage or displayerror
ErrorHandler=displayerror DefaultPage=/content/view/sitemap/2/
# Default access is needed when uri type matching is done, this is
# because with empty urls it's not possible to fetch the access DefaultAccess=
So, you can set DefaultPage and DefaultAccess to match your needs.
Thank you very much, Adolfo. That's exactly what I had not figured out.
Have a nice day.
Volker
> > Is it possible to declare a default site access rule in
> ezp3
> > site.ini or elsewhere to cope with URIs that do not
> match
> > any of the required patterns like "admin" or "user" in
> order
> > to decide which access path to follow? I could not find
> an
> > answer in the docs.
>
> Yes. In site.ini, under [siteSettings]
>
> # Which page to show when the root index is accessed
> IndexPage=/content/view/sitemap/2/
>
> # What to do when a module does not exists, use either
> defaultpage or displayerror
> ErrorHandler=displayerror
> DefaultPage=/content/view/sitemap/2/
>
> # Default access is needed when uri type matching is done,
> this is
> # because with empty urls it's not possible to fetch the
> access
> DefaultAccess=
>
> So, you can set DefaultPage and DefaultAccess to match your
> needs.
>
> Regards > Adolfo Barragán
You must be logged in to post messages in this topic!