# Can Webrick show directory listings like Apache?

**URL:** <https://www.ruby-forum.com/t/can-webrick-show-directory-listings-like-apache/92065>\
**Category:** Rails\
**Created:** [April 15, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/can-webrick-show-directory-listings-like-apache/92065 "2007-04-15T17:11:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 15, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/can-webrick-show-directory-listings-like-apache/92065/1 "2007-04-15T17:11:04Z")

</div>

Hi,

I have a subdirectory of the RAILS\_ROOT/public/ diretcory.

I can use Webrick to directly serve files from the public  
subdirectory:  
http://:3000//

But I cannot get Webrick to show the directory listing of .  
I get a ‘Recognition failed’ error.

Any ideas on how to make Webrick show public directoy listings like  
Apache?

Thanks,

David

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 16, 2007, 6:18am UTC](https://www.ruby-forum.com/t/can-webrick-show-directory-listings-like-apache/92065/2 "2007-04-16T06:18:39Z")

</div>

hi,

El Sunday 15 April 2007 17:10:05 removed\_email\_address@domain.invalid escribiÃ³:

> Any ideas on how to make Webrick show public directoy listings like  
> Apache?

checkout the the FancyIndexing option in WEBrick::Config

ciao
