Apache and the htaccess file

They have: 36 posts

Joined: Mar 1999

I have posted this here before, but did not receive a reply. I am asking if anyone knows how to modify the htaccess file, so that it will insert a header into every html file within the specified directory. This is basically what Hypermart and Geocities use to generate those pop up ads. It is not SSI, since the code will be placed into the page whether you want it to or not. Can anyone help?

They have: 2,390 posts

Joined: Nov 1998

I would also like to know about this...
JP

They have: 5,633 posts

Joined: Jan 1970

I would suggest looking at http://www.apache.org/docs/mod/directives.html ... Most of the tasks that can be added to the .htaccess file can be found there. I have never personally done this, seen this done, or even heard of it so I can't offer much help.

------------------
Dynamic Internet Solutions : http://www.dids.com
Windows NT and UNIX Hosting

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.