apache - How can I create a simple index.html file which lists all files/directories? -


we use apache server not allow directory listing.

there specific directory allow listing of.

how can make simple html file contain contents of directory?

you can either: write server-side script page php, jsp, asp.net etc generate html dynamically

or

setup web-server using (e.g. apache) automatically directories doesn't contain welcome-page (e.g. index.html)

specifically in apache read more here: edit httpd.conf: http://justlinux.com/forum/showthread.php?s=&postid=502789#post502789

or add autoindex mod: http://httpd.apache.org/docs/current/mod/mod_autoindex.html


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -