Hello,
Another way to this (in addition to what Bojidar said), would be to use an
ISAPI filter, and catch the request. So if the file was removed, you could
specify in the filter to redirect to another file (hence the old file does
not have to exist).
I'm sure that you can find some examples of this on google if you search for
ISAPI filter.
--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a> - FAQ and Tutorials for Windows Server 2003
"Dirk" <dirk RemoveThis @nospam_to_remove_ofcourse.woodstone.nu> wrote in message
news:ON9rUms%23DHA.3668@TK2MSFTNGP09.phx.gbl...
> Hi,
>
>
> Some of my users are keeping "old" links to download files thus
"generating"
> 404 errors.
> My idea was that when a file is moved to a new location that they would
> automaticly redirected.
>
> Example:
> link beta.company.com/sofware/beta/mysoftware.exe
> is removed and since the software is released it's now available as
<font color=purple> > <a style='text-decoration: underline;' href="http://www.company.com/software/release/software_v1.exe</font" target="_blank">www.company.com/software/release/software_v1.exe</font</a>>
>
> How can I automaticly redirect somebody that tries to download
> beta.company.com/sofware/beta/mysoftware.exe to
<font color=purple> > <a style='text-decoration: underline;' href="http://www.company.com/software/release/software_v1.exe</font" target="_blank">www.company.com/software/release/software_v1.exe</font</a>>
>
>
> I'm using IIS (on Win2K)
>
>
> dirk.
>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: redirect download to another site