|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Forcing Apache to add a header or footer
Maybe this can't be done with apache, if so and you know a web server that can do it I would appreciate it.
What I am looking for is a way to tell apache that on a particular virtual server, to include a header or footer on all pages served - I know this can be done when you are doing directory indexes but I cannot find a way to do it when an actual page is being returned. Using Apache/1.3.27 (Unix) PHP/4.3.0 mod_perl/1.27 Anyone have any ideas? Thanks in advance Frank |
|
#2
|
|||
|
|||
|
RE: Forcing Apache to add a header or footer
Hey Frank,
There are several ways to to this but since this is a PHP forum I suggest this one. This is added to the virtual server directive or the .htaccess file. If you need help on virtuals look at my quick tutorial at http://codewalkers.com/tutorials/23/1.html Code:
php_value auto_prepend_file /path/to/somefile.php php_value auto_append_file /path/to/somefile.php |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Forcing Apache to add a header or footer |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|