Usually alfresco runs under e.g. localhost:8080/alfresco/. I (or the people who pay me) want it to run under e.g. localhost:8080/foo/.
Renaming the alfresco.war file to foo.war seems to do the trick. However, I haven't been able to find any supporting documentation: is this the best way to do it?