httpd: improve rewrite rule

The current rewrite rule does not allow a period in the post name URL.
Hardcode .html, .css, and .js, to remove this limitation.