deny file types

Martin Sarsale <[email protected]> Mon, 22 Mar 2004 10:13:40 -0300
Newsgroups gmane.network.mathopd
Organization GCBA
Message-ID <1079961220.729.21.camel@debian>
Dear All:

We have a lot of traffic to our site and we're running out of Apache's
MaxClients (apache has a maximum number of connections, maxclients, and
we're
reaching it).
As around 80% of this connections are requesting static content, we
would like to use a different, smaller webserver to serve it.
The problem is that we don't have other machine to run it, so we're
going to assign another ip to the server run thttpd on the other ip.

Now: we've configured mathopd to run on the same server, with the same
document root, but we need to configure it to deny the request of any
file which is not one of: *gif, *jpg, *png.

How can we do that?

Thanks in advance
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQBAXuaDhruVGj+ub3MRAqKQAJ9Qxz59h0nU6HP5fferneFqxShOyQCgkpUN
qO1SHPxj9AHLKwwLOX2Z/Z8=
=s/RM
-----END PGP SIGNATURE-----