apache_setenv: get rid of index hacks