You are here: Re: Forwarding Files « HTML « IT news, forums, messages
Re: Forwarding Files

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация