# Patch for autoindex module: css file

**URL:** <https://www.ruby-forum.com/t/patch-for-autoindex-module-css-file/188500>\
**Category:** NGINX\
**Created:** [May 13, 2010, 12:33am UTC](https://www.ruby-forum.com/t/patch-for-autoindex-module-css-file/188500 "2010-05-13T00:33:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ubitux](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/73ab20/32.png) [@ubitux](https://www.ruby-forum.com/u/ubitux)\
**Post date:** [May 13, 2010, 12:33am UTC](https://www.ruby-forum.com/t/patch-for-autoindex-module-css-file/188500/1 "2010-05-13T00:33:32Z")

</div>

Hi,

I was trying to customize a little the dir listing html output, but I  
didn’t find any way to do that instead of hardcoding html/css in the  
module source. So here is a patch which allows you to specify a “css  
file”  
that will be appended in the header if set.

I didn’t find any repository or special devel mailing list, so the patch  
is based on the stable version, with a diff -u, 'hope it will be fine.

Also, as I just opened for the first time the nginx source code a few  
hours ago, I may not use as well as expected the string helpers & co…

Please let me know what you think about this patch,

Regards,

---

<div class="post-metadata">

**Author:** ![ubitux](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/73ab20/32.png) [@ubitux](https://www.ruby-forum.com/u/ubitux)\
**Post date:** [May 17, 2010, 9:32am UTC](https://www.ruby-forum.com/t/patch-for-autoindex-module-css-file/188500/2 "2010-05-17T09:32:17Z")

</div>

On Thu, May 13, 2010 at 12:32:52AM +0200, ubitux wrote:

> Also, as I just opened for the first time the nginx source code a few  
> hours ago, I may not use as well as expected the string helpers & co…
> 
> Please let me know what you think about this patch,
> 
> Regards,

Can I have a review or feedback about this patch?

–  
ubitux
