Update htaccess for content negotiation and validation fixes for the document

Update htaccess for content negotiation and validation fixes for the document