tweaks to fix bugs with server version
.htaccess change for courses page