[Typo3] Redirect if not logged in

Nico de Haen mail at dehaen.net
Sat Feb 19 15:18:14 CET 2005


Hi,

I have a password protected area and I want to redirect all requests,
that try to access pages in that area, without being logged in
 to the login page and show a message like: "Sorry, you
have to login to acces this page" or "You have to refresh your page".

Rightnow users are redirected to the start page.

I tried something like:

[usergroup = *]
[else]
config.additionalHeaders = Location:please_login.html
[global]

in the typoscript template, but it seems, that the redirect happens
before the typoscript template is parsed

Can anyone give me a hint. I'm using the common FE access options.

Thanks,

Nico
 





More information about the TYPO3-english mailing list