Re: shutting down a web app for maintenance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/20/06, Jon Anderson <jon@xxxxxxxxxxxxxxxxxx> wrote:
Assuming you're using a web server that supports htaccess files, you
could easily just pop in a .htaccess file that denies access to
everything. You could even add a PHP ini directive like:

php_value auto_prepend_file "maintenance.php"

where maintenance.php could contain something like:

<html><head><title>Down for Maintenance</title></head><body>Site down
for maintenance!</body></html> <?php exit(0); ?>

if this is the case, why don't you put clean session sentences in your
maintenance.php. With those sentences you are sure that anybody that
wants to access your application will be kicked off.

--
Saludos
Oscar

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux