Fix Apache alias and link generation