|
Posted by Jon Slaughter on 06/29/07 19:04
"J.O. Aho" <user@example.net> wrote in message
news:5eku6uF37kjdvU1@mid.individual.net...
> Randy Yates wrote:
>> Hi Folks,
>>
>> Is there a way to have a reference to, say, http://mysite1.org/file1.pdf
>> to
>> be "forwarded" to http://mysite2.org/file2.pdf? I know I could write a
>> cgi
>> script to reside on mysite1 to do this - I was wondering if there was a
>> "simpler," more html-centric way.
>
> Best is server side redirections, if you use a proper web server like
> apache
> you can do that.
>
> You can make a php file with the extension pdf, which redirects to the
> right
> file, but in that case you need to tell the web server to parse pdf files
> as
> php scripts, which will slow your system down to a crawl each time people
> access a real pdf file.
>
Except in the rar case that the pdf actually contains data that could be
parsed as php code...
Navigation:
[Reply to this message]
|