[TYPO3-english] Under maintenance page while upgrading
Alexander Dick
alex at dick.at
Tue Nov 22 10:42:05 CET 2011
There's a much simpler method to achieve this.
1. crate a simple html page "maintenance.html" with your maintenance
information
2. redirect all traffic to this page, except for your own IP adress
.htaccess:
RewriteCond %{REMOTE_ADDR} !^123\.132\.132\.123
RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC]
RewriteRule .* /maintenance.html [R=302,L]
best regards
Alex
On Tue, 22 Nov 2011 10:18:45 +0100, Robert Wildling wrote:
> My way:
> - insert new page on Top
> - include only the most necessary TypoScript
> - create a (HTML) content, where the maintenance text shows up
> - set the "old" site root to invisible
> - if necessary, deactivate temporarily any backend users that should
> not have access during maintenance time (or enter the PI of your
> computer in the install tool along with the security features, as
> mentioned before)
>
> That way it is still possible to enter the backend and edit content,
> test, add, delete etc
>
> Good luck!
> Robert
>
>
> Am 21.11.11 22:06, schrieb yanagik317 at netscape.net:
>> Typo3sters,
>>
>> I sort of searched through the archives and couldn't really find.
>> Is there "easy" way to put up a little "Under Maintenance" type of
>> page while I upgrade Typo3?
>>
>> I tries playing around with changing DirectoryIndex but that didn't
>> really work. I still got the usual front page instead of my cute
>> little maintenance.html.
>>
>> I'm vaguely thinking I can just change DNS while upgrading, but that
>> would steer even my own laptop (unless I play with /etc/hosts, blah).
>> Typo3Wiki says to "think of active users" and I will, at least of
>> those who may update pages by telling them not to, but what of the
>> general public access? Would they see some weird stuff while schema
>> change is being applied to the database, etc?
>>
>> Obvious newbie I am. I'd appreciate input from those that have gone
>> through this before.
>>
>> Thank you,
>>
>> --Koji
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list