[TYPO3-english] Typo3 - Restrict Access to a page by IP range
Erik at samson-it.nl
Tue Feb 21 16:19:43 CET 2012
When i look at the title of your email i think immediately of using TypoScript, we use this condition to enable IP-access:
[IP = 127.0.0.1, 127.0.0.2 ]
page.10.userFunc = tx_templavoila_pi1->main_page
page.10 = TEXT
page.10.value = You are not allowed to visit this page
For subnets you could probably work with a % in a IP-number.
Van: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Namens Montgomery, Matthew
Verzonden: woensdag 15 februari 2012 15:05
Aan: 'typo3-english at lists.typo3.org'
Onderwerp: [TYPO3-english] Typo3 - Restrict Access to a page by IP range
We have a need to create a single page on our website that is accessible to only on-campus stations.
I have 2 subnets that I would like to specify in the array and I am having great difficulty at making this work.
I located a webpage on this type of request here http://jeffsegars.com/2008/06/24/ip-based-frontend-accounts/.
I have located my localconf.php file as the site says but none of my lines start with $GLOBALS, mine actually start with $TYPO3_CONF_VARS.
I am really new to this and I am not sure how to proceed. I am hoping that someone can provide some guidance to help us create this single page.
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
More information about the TYPO3-english