host_path


Description:

public void host_path (string local_path, string server_path)

Start hosting local_path at server_path.

Files with the path local_path.gchar.LOCALE (if they exist) will be served up when LOCALE is specified in the request's Accept-Language header.

Parameters:

this

A Context

local_path

Path to the local file or folder to be hosted

server_path

Web server path where local_path should be hosted