Puoi provare con setenv in un htaccess o nella configurazione
codice:
SetEnv PATH_INFO /foo/bin
SetEnv ORIG_PATH_INFO /foo/bin2