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?

Normally html pages contains relative path,find full path of that particular resource and check it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.