[mod_python] Apache directory listing

Aaron Gallagher habnabit at gmail.com
Mon May 28 06:30:31 EDT 2007


I get a 404 Not Found error.

On May 28, 2007, at 3:22 AM, Graham Dumpleton wrote:

> What happens if you return apache.DECLINED.
>
> Graham
>
> On 28/05/07, Aaron Gallagher <habnabit at gmail.com> wrote:
>>
>> Is there a way to tell Apache to give a directory listing? I'm using
>> SetHandler on a directory, and in some cases, I don't need to do  
>> any special
>> handling, so I'd like Apache to just list the contents of the  
>> directory so
>> that I don't have to write my own way of doing it.
>>
>> Just returning apache.OK has Apache send a document of MIME time
>> httpd/x-directory with content length 0.
>>
>> Aaron Gallagher
>> <habnabit at gmail.com>
>>
>>
>> _______________________________________________
>> Mod_python mailing list
>> Mod_python at modpython.org
>> http://mailman.modpython.org/mailman/listinfo/mod_python
>>
>>

Aaron Gallagher
<habnabit at gmail.com>




More information about the Mod_python mailing list