Activate site maintenance via RewriteCond -f check?

Posted by zedoo on Stack Overflow See other posts from Stack Overflow or by zedoo
Published on 2010-01-11T13:46:22Z Indexed on 2010/03/14 16:45 UTC
Read the original article Hit count: 556

Filed under:
|

I thought about hitting a file via -f (i think it is) in a mod_rewrite RewriteCond, if the file exists, rewrite to maintenance page. I don't think the performance penalty should be too big, but maybe people had other experiences or objections on this idea?

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about Maintenance