Hi again
I know you can set Apache 1.3x to include a file anytime a file is served... Just cant remember WHERE you set it and how... Can some of the Linux/Apache gurus help?
Thanks
:develish:
Hi again
I know you can set Apache 1.3x to include a file anytime a file is served... Just cant remember WHERE you set it and how... Can some of the Linux/Apache gurus help?
Thanks
:develish:
Hi DEVELISH,
I think you can set that in the httpd.conf file of your server. In the section where you defined your domains.
Or put the following lines in the .htaccess
AddHandler server-parsed .html
AddType text/html .html
I'm not completly sure because it has been a while, but search on goolge then you find it rather quick
Best Wishes,
Arian
sorry, I do not mean parsing additional files as php or the like
I once stumbled over a function which instructs apache to actually attach the contents of a file to each file served - as a header or footer...
:develish:
Can't help with that, never worked with!
I dunno,
ok, what I need is a php-script being includet in every html/php file (the include code for tracewatch that is and some other jazz which I outplaced in its own file)
I looked into mod_include but for some reasons can not get it to work :-(
:develish:
well, SSI is the easiest way to do this, you just have to setup your site to have SSI enabled and then create your includes, which automatically get forced onto every page within that site. How you do this depends on the server you are running (specifically the control panel software) but its all explained in their documentation.
uhm - guess I go back playing with my server thenOriginally Posted by Chilihost
Thanks Luke
:develish:
maybe this will help: http://httpd.apache.org/docs/1.3/howto/ssi.html
Bookmarks