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

How can I insert CSS block and HTML block at the top of the body using Apache reverse proxy.

The idea is that I can insert a (global) menu at the top of all our web apps for easy access.

share|improve this question
Personally, I think it would be easier to append a javascript fragement after, that would insert your css/html in the appropriate locations. – Zoredache Aug 27 '11 at 4:55
up vote 0 down vote accepted

I have managed to figure out how to do this.

I used mod_substitute and mod_include.

This site has the details

share|improve this answer

This is not a good idea. Your users wouldn't be able to trust you, in the sense that you can ADD CODE TO THEIR SITES. You could theoretically add keylogger scripts or something to the site, and so if you're going to be doing this, make it like a codeen server, where all new users are greeted with a welcome message.

share|improve this answer
this server is only for internal use. – Samuel Taylor Aug 27 '11 at 12: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.