Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 / http://www.example.com/

Thanks

share|improve this question
add comment

1 Answer

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
2  
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
add comment

Your Answer

 
discard

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.