Discussion Locked

Change Layout for AutoIndex'ing (Apache)

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Apache shows file list in a directory if it doesn't find index.html in this directory. Apache generates html page which shows the list with full directory path on top. The path description is wrapped in to

HTML tag. Does any way exist to changethis tag to any I want? Preferable solution: to change the tag using Apache's config files only or making changes in Apache's source code. Some scripting (php, perl) is ok but less desirable.

4 replies

by bmenking

I don't think there is any easy way to do this.

The only thing I could suggest would be to pull the apache source and modify src/modules/standard/mod_autoindex.c and on line 1063 change the H1 tags there. Then recompile apache.

This discussion is closed to new replies.