improve the demo and add a sample htaccess