Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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've used an .htaccess file to redirect a website to another domain. Now I need to remove the redirect, I've deleted the .htaccess file, but requests to the site are still redirecting. I've restarted Apache but no luck. Are .htaccess file contents cached, or is there anything I'm missing here?

.htaccess contents were as follows:

Redirect 301 /


share|improve this question
To answser the topic (not the question): No, .htaccess files are not cached by Apache. Every request causes a reparse, unfortunately. – Kontrollfreak Sep 27 '14 at 11:56
up vote 1 down vote accepted

Solved the problem by uploading an empty .htaccess file. Still interested to know why simply deleting it didn't work though..

share|improve this answer
The redirect was probably cached by your web browser or by an intermediate proxy, but definitely not by Apache httpd. – joschi Jul 1 '10 at 14:13

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.