...

View Full Version : Using .htaccess and HTTP_REFFERENCE



Scke_Xival
03-18-2003, 04:01 AM
Anyone here who knows how to use .htaccess well?

Im trying to make it so that people cannot view one of my pdfs directly by typing in its address, but has to go through another one of my pages.

Basically, I would use javascript, but you cant really put javascript onto a pdf. Anyone know how to do it using .htaccess? I tried to use HTTP_REFFERENCE, but it didnt work and i dont think thats how its used.

bcarl314
03-18-2003, 01:54 PM
I did something like this for a site once.

I stored all the pdf's outside the web root directory so no one could access them, then serverd them up through a login interface.

Involves mime-types and the like.

Scke_Xival
03-18-2003, 03:09 PM
how do u do that?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum