public void locate() throws HttpException
	{
		//create resource
		this.resource = new File(this.domain.getDirectory(), this.path);
		
		if (this.resource.isDirectory())
		{
			//trailing slash
			if (this.checkTrailingSlash())
				return;
			
			//find index file
			this.findIndexFile();
		}
		
		//verify and prepare
		this.verifyResource();
		this.prepareResource();
	}