Ho contattato il mio hoster per la gestione dell url rewrite con .asp classico e mi ha risposto che si può fare solo con web.config
in ciccia seguendo quello che ho trovato :
1) devo realizzare questo file aspx
e caricarlo sulla root principale del sito con il nomecodice:<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>URL Rewrite Module Test</title> </head> <body> <h1>URL Rewrite Module Test Page</h1> <table> <tr> <th>Server Variable</th> <th>Value</th> </tr> <tr> <td>Original URL: </td> <td><%= Request.ServerVariables["HTTP_X_ORIGINAL_URL"] %></td> </tr> <tr> <td>Final URL: </td> <td><%= Request.ServerVariables["SCRIPT_NAME"] + "?" + Request.ServerVariables["QUERY_STRING"] %></td> </tr> </table> </body> </html>
e fino qui ci siamo
poi che cosa devo fare?
in questo articolo
http://www.iis.net/learn/extensions/...rewrite-module
dice di configurare IIS ma io non ho accesso
qualcuno mi puo spiegare la logica del url rewrite o qualche esempio?
Grazie