# .htaccess not working, redirect all requests to maintenance

**URL:** <https://www.ruby-forum.com/t/htaccess-not-working-redirect-all-requests-to-maintenance/176512>\
**Category:** Rails\
**Created:** [October 1, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/htaccess-not-working-redirect-all-requests-to-maintenance/176512 "2009-10-01T13:54:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyasaini](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/aca169/32.png) [@priyasaini](https://www.ruby-forum.com/u/priyasaini)\
**Post date:** [October 1, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/htaccess-not-working-redirect-all-requests-to-maintenance/176512/1 "2009-10-01T13:54:42Z")

</div>

Hi All:

I need to upgrade my ROR application and in the maintenance period i  
want all the pages(actions) to redirect to a maintenance(html) page.

I tried several options in .htaccess but it looks as if .htaccess is not  
even getting used.  
Any help will be highly appreciated.

TIA,  
Priya S.
