C# 클래스 Upac.Core.HttpHandlers.RobotsTxt

This HttpHandler will pass the robots.txt file. It main purpose is to set Disallow: / when on a 1508test.dk server and when in prouction site set the sitemap.org path. Velocity Template Language (VTL) is used when parsing the file on the fly. It should be registered in web.config It will only works on IIS7
상속: IHttpHandler
파일 보기 프로젝트 열기: 1508/upac-for-umbraco

공개 메소드들

메소드 설명
ProcessRequest ( HttpContext context ) : void

Enables processing of HTTP Web requests by a custom HttpHandler that implements the T:System.Web.IHttpHandler interface.

메소드 상세

ProcessRequest() 공개 메소드

Enables processing of HTTP Web requests by a custom HttpHandler that implements the T:System.Web.IHttpHandler interface.
public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
리턴 void