web.config dosyası oluşturun ve içine;
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors>
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" subStatusCode="-1" prefixLanguageFilePath="" path="/404.asp" responseMode="ExecuteURL" />
</httpErrors>
</system.webServer>
</configuration>404.aspnin içinede;
Set adres = Request.ServerVariables("QUERY_STRING")
ustyer = Split(adres,"/")
If ustyer(3)= "iletisim.html" Then
Server.Execute("iletisim.asp")
end ifşeklinde kullanabilirsin.