Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a hosted server.

When I update .htaccess, are the updated rules immediately in effect?

I understand that hosters can do what they want, and it's impossible to know without knowing the particular policy of this particular hoster. But in the normal case, if I update .htaccess, does Apache re-read it immediately? Or is there something I can do to tell Apache to re-read it?

or what?

share|improve this question
up vote 8 down vote accepted

The .htaccess is loaded up on each request, even if it's in internal one (using mod_modrewrite)

Take and look at and especially the 'When (not) to use' section

share|improve this answer
beat me by 7 seconds, upvote for you – Zypher Mar 26 '12 at 22:05
Ha, I even reloaded to make sure there wasn't one already posted – Ryan Gibbons Mar 26 '12 at 22:18
Thanks Ryan. I googled for mod_rewrite .htaccess update but the signal-to-noise ratio was really really low. – Cheeso Mar 26 '12 at 23:08
Yeah, information overload when searching Google. I always start with the apache docs first – Ryan Gibbons Mar 26 '12 at 23:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.