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

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

2 Answers 2

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.