I have developed web server with redirecting if resource isn't exist. It made by such html, that returning instead resource(img or style file):
<html>
<form name='myform' action='http://[some address]>
[inputs with another answer]
</form>
<script language='JavaScript'>
document.myform.submit();
</script>
</html>
its works perfect if you go to this resource by url field of browser, but don't work if this resourse is a part of html page.
have an idea?