|
Posted by J.O. Aho on 06/29/07 17:35
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.
So the first option is the best one.
--
//Aho
[Back to original message]
|