After server change, some directory handling code is no longer working. It seems to be that if I put a “HeaderName filename” directive in, the header goes in fine, but the listing becomes garbage characters. Without the header, it works fine.
I believe php is a fastcgi instead of mod now, as I had to change a handler name in our main htaccess file to get our basic web stuff to work, but no idea how that is related.
Any hints on what to do or other issues with autoindex after moving servers?
I have even tried a simple test header and it has the same problem.
In case it is related to the php, my main htaccess file is:
AddHandler php5-cgi .html
AddType text/html .html
SetEnv TZ America/Denver
Edit to add: The cgi handler seems to cause the issue. But I need that so still need a solution to mod_autoindex garbling the listing. I have a simple test set up at http://www.cmcboulder.org/doc_test/