How to force a directory listing using SimpleHTTPServer?
<p>I have an <code>index.html</code> on the folder where SimpleHTTPServer is running, but depending on the value of a URL GET parameter I want to show a directory listing instead. Is that possible? I was trying to query the root directory using ajax, but it returns <code>index.html</code>by default. </p>

<p>I guess one possible option is to rename <code>index.html</code> to something like <code>main.html</code> and never use index.html.</p>
