|
Posted by GuyBrush Treepwood on 06/25/05 15:43
On Thu, 23 Jun 2005 19:25:01 +0000, Corona wrote:
> I have an ASP.NET page on a local server. On an internet website I have a
> page that redirects to the local page.
>
> The problem is that the local page has a dynamic IP address and is behind a
> firewall. So, I wrote an application that periodotically goes out on the net
> and gets my public address. It compares the public address to see if it's
> changed since the last time it was checked. If it changed the app generates
> an HTML redirection page with the new IP address and uploads it to the
> internet site.
>
> What I want to be able to do is change the behavior of the redirection page
> so that it asks the user to try again in a few minutes instead of giving a
> 404 page not found error. Is that possible in HTML? I don't want to resort
> to server side scripts for a couple of reasons. I'm not sure what
> capabilites the site supports and 2nd, I just don't want to learn another
> damn language if I can help it... :)
Is it an apache webserver? Then you can put a .htaccess file in the top
directory, with the error redirection.
--
"Don't worry about people stealing your ideas. If your ideas are any good,
you'll have to ram them down people's throats."
-- Howard Aiken
Navigation:
[Reply to this message]
|