[TYPO3] How to stop FE access

Christian Vetter Christian.Vetter at dragoner-design.de
Sat Apr 1 19:24:17 CEST 2006

Hi again,
Glad to be of help :)
You can achieve quite an easy switch through .htaccess:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php [L]

#RewriteRule .* closed.html [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !-l

#RewriteRule .* index.php [L]

RewriteRule .* closed.html [L]
The '#'signs make the line ineffective - just like in TypoScript - thus  
giving you that switch functionality. 'closed.html' would be the file to  
be shown while you're working on your project. It might not be as  
comfortable as switching the light on and off, but it can be done in less  
than minute - I think that's good enough, isn't it ?

Best regards,

Am 01.04.2006, 19:08 Uhr, schrieb Stan Orianni <soriani at gmail.com>:

> Hi Christian and Erik,
> Christian wrote:
>> I suggest you put it into a subdirectory and then password protect it.
> Erik wrote:
>> The simple solution I often use on developing are giving the
>> developing installation a subdomain, and let the running website
>> But maybe your real problem is that both your TYPO3 installation, or
>> you old site are using the same root. Who I consider as bad
>> strategi,
> Yes, both of you are right.  Will try a subdir/subdomain suggestion, then
> after everything checks out okay will decide the final structure.
> It would be great to have a typo3 switch in order to easily open and  
> close
> the FE to visitors.
> Thanks for your help.
> Stan
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

More information about the TYPO3-english mailing list