Hi ,

I have one site.If any one access the unavailable file,i want to redirect that request to another file.Do u have any solution for that?.

Souravsasi

    Sure.. if you are running under Apache you can use a .htaccess file and use the ErrorDocument directive in the .htaccess. If you are under IIS you can just edit the IIS settings for the site to point to the file you want for different errors.

      2 years later

      Originally posted by souravsasi
      Hi ,

      I have one site.If any one access the unavailable file,i want to redirect that request to another file.Do u have any solution for that?.

      Souravsasi

      Thanks

        Write a Reply...