modified init.sh to match public dir in apache's sites-available
Dynamic routing to resources