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'm wanting to include a header file in my .htaccess file. I've got the following code:

HeaderName header.htm

But for every subdirectory I have to copy the header in, is there any way to have it point to the same file on the top directory?

Cheers! Pete

share|improve this question

You should be able to use /header.htm

share|improve this answer

Was being a fool, backslashing not forwardslashing...

All sorted!

share|improve this answer

Your Answer


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