This should be just what you want http://httpd.apache.org/docs/2.2/howto/htaccess.html
On Monday 19 June 2006 15:55, Ahn, Chang wrote: > Can Apache automatically popup a dialogue box before allowing access to > a file? > > I know SSI will allow me to add html fragments to a HTML page but I need > something that will work for MS docs, PDF, and other binary files. > Basically, I want my users to agree to a disclaimer (or see a disclaimer > header/footer) before viewing a document. When a user attempts to > access a specific area of my site, I want to popup some sort of dialog > box asking them to agree to my usage disclaimer. I'd prefer it if > Apache could automatically display the dialogue box or footer on any > file request within a specific directory. > > - Chang -- ~ Chris "Kyral" Peterman Computer Science Undergraduate Clarkson University Associate Member of the Free Software Foundation Ubuntu Member
pgp9LuajQIl9H.pgp
Description: PGP signature