extended http server to provide categories and subcategories