No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

44 líneas
960B

  1. <%@ Language="VBScript" %>
  2. <% Option Explicit %>
  3. <%
  4. Dim route, app, statusLine, contentType, body
  5. route = Request.QueryString("route")
  6. Set app = Nothing
  7. On Error Resume Next
  8. Set app = Server.CreateObject("WscMvc.Application")
  9. If Err.Number <> 0 Then
  10. Err.Clear
  11. On Error Goto 0
  12. Response.Status = "500 Internal Server Error"
  13. Response.ContentType = "text/plain; charset=utf-8"
  14. Response.Write "Internal Server Error"
  15. Response.End
  16. End If
  17. On Error Goto 0
  18. statusLine = ""
  19. contentType = ""
  20. body = ""
  21. On Error Resume Next
  22. app.Run route, statusLine, contentType, body
  23. If Err.Number <> 0 Then
  24. Err.Clear
  25. On Error Goto 0
  26. Set app = Nothing
  27. Response.Status = "500 Internal Server Error"
  28. Response.ContentType = "text/plain; charset=utf-8"
  29. Response.Write "Internal Server Error"
  30. Response.End
  31. End If
  32. On Error Goto 0
  33. Response.Status = statusLine
  34. Response.ContentType = contentType
  35. Response.Write body
  36. Set app = Nothing
  37. %>

Powered by TurnKey Linux.