Feature Request
William R Thomas <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[email protected]> |
In trying to meld Tux to fit our particular needs and wants, I have
had to make 2 different changes to the source, and I would think that
both of them would be things other people would be interested in. The
way in which I made the changes would mean that every time a new patch
came out the changes would need to be manually added back in.
1) Pass through all unknown mime types. To accomplish this I modified
the default mime_type to be:
static mimetype_t default_mimetype = { type: "text/plain", type_len:
10, expire_str: "", expire_str_len: 0, special: MIME_TYPE_REDIRECT };
This allows us to only serve files which we know are static. Pretty
much ever non-image file on our server is a dynamic page.
2) Change the default index page name. This is just changing the
define for INDEX.
I would Tux could allow both of these to be modified through the proc
without too much difficulty, and it would make life a bit easier for
some people.
--
William R. Thomas
Corvar [email protected]
Co-Webmaster http://www.theonering.net/
*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*
Who are we? We find that we live on an insignificant planet of a
humdrum star lost in a galaxy tucked away in some forgotten corner
of a universe in which there are far more galaxies than people.
-- Carl Sagan
He that breaks a thing to find out what it is has left the path of
wisdom.
-- J.R.R. Tolkien