Regarding the hard coded path, I've managed to have egs not at the root of apache. Here is the little script I used, not sure it is doing the full job, because I was just having a quick look at egs. Maybe it can be a starting point.

!/bin/sh

find . -name ".php" | xargs sed 's//?action//egs/?action/g' -i find . -name ".php" | xargs sed 's//?module//egs/?module/g' -i

find . -name ".js" | xargs sed 's//?action//egs/?action/g' -i find . -name ".js" | xargs sed 's//?module//egs/?module/g' -i

find . -name ".tpl" | xargs sed 's//?action//egs/?action/g' -i find . -name ".tpl" | xargs sed 's//?module//egs/?module/g' -i

find . -name ".tpl" | xargs sed 's//app///egs/app//g' -i find . -name ".tpl" | xargs sed 's//themes///egs/themes//g' -i find . -name "*.tpl" | xargs sed 's//data///egs/data//g' -i

sed 's/$url='''/'''/$url='''/egs/'''/g' lib/classes/implementations/EGSLinkBuilder.php -i sed 's/'''/?'''/'''/egs/?'''/g' lib/smarty/custom_plugins/block.form.php -i find . -name "*.js" | xargs sed 's/'''/?'''/'''/egs/?'''/g' -i

(used a svn checkout)

Thomas