Outofmymindy
01-12-2004, 02:06 PM
Would someone be able to tell me how to add a header or footer to an entire user directory on a webserver?
I need to include a header or footer on all pages of users account that is on my server. I currently run cPanel 8/WHM but haven't seen an option for this on either of them. If anyone would be so kind as to let me know how to do this I would greatly appreciate it.
Thanks
BF-Gary
01-12-2004, 02:09 PM
Why would you do this through cPanel/WHM?
You can add a header and footer to each page or provide an include if the pages are php.
Outofmymindy
01-12-2004, 02:11 PM
This is on a user account that I am hosting. It is not my own website, therefor I am not going to edit any of their files. But due to them not exactly adhering to the terms they signed up to, I would like to add one automatically, and so that they cannot remove it.
Akash
01-12-2004, 02:37 PM
There is an Apache module called mod_layout - I haven't had any luck on installing it on a CPanel server - or any server that isn't running Apache 2 - but it has been done with some work...
Do a search at the Cpanel forums and see ifyou can get it to work; there was a thread there about installing it.
Pheaton
01-12-2004, 03:11 PM
there is an option within the php.ini file for prepending and appending. Just search for those two terms within the ini file.
4Hosted
01-12-2004, 03:27 PM
By your post im assuming your looking to add your Hosting Ad to a hosted client(s). This was discussed in Programming forum,
The link is Here (http://www.webhostingtalk.com/showthread.php?s=&threadid=224802)
Hope this helps :)