You are viewing a plain text version of this content. The canonical link for it is here.
Posted to attendees-eu-2000@apachecon.com by rb...@covalent.net on 2000/11/13 20:18:02 UTC

Reading the CDROM on Unix.

Anybody who was at ApacheCon Europe should know that the CD's that were
distributed are pretty much unusable on Unix.  The reason for this is that
the URLs were saved with backslashes and spaces, which IE fixes for you,
but no other browser does.  To make Apache 2.0 a little more popular, I
have written a filter that will allow Apache to serve the files from the
CD regardless of what platform you are on.

The module can be found at:  http://www.ntrnet.net/~rbb/mod_apachecon.c

There are no docs with it, but it can be enabled by running:

src/configure --with-module=/path/to/mod_apachecon.c

This enables the filter for all requests, but that should be
okay.  Basically, all the filter does is to search the requested URL for
' ' and '\', replacing them with "%20" and '/' respectively.

I will be using this filter as a part of an article on ApacheToday in a
few months if you would really like to understand how it works.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------