860 projects tagged "Apache 2.0"
mime4j provides a parser, MimeStreamParser, for e-mail message streams in plain RFC822 and MIME format. The parser uses a callback mechanism to report parsing events such as the start of an entity header, the start of a body, etc. If you are familiar with the SAX XML parser interface you should have no problem getting started with mime4j. The parser only deals with the structure of the message stream and won't do any decoding of base64 or quoted-printable encoded header fields and bodies. This is intentional - the parser should only provide the most basic functionality needed to build more complex parsers.
MockInject is a library that supports accurate injection of your mock objects (either manually written or generated). Supported injection points are constructor-calls or method-calls. The injection-points can be defined by using a simple EDSL. It uses ByteCodeInstrumentation to inject your mocks, but you needn't have any knowledge about BCI or JavaBytecode, just the EDSL.
mod-vhost-ldap is an Apache 2.x module for storing and configuring virtual hosts from LDAP. It supports DocumentRoot, ScriptAlias, ServerName, ServerAlias, ServerAdmin, and SuexecUserGroup directives. It's built on top of mod_ldap, so it uses its caching capabilities and can be used with a threaded Apache httpd.
mod_asn is an Apache module that uses BGP routing data to look up the autonomous system (AS) and the network prefix (subnet) which contains a given (client's) IP address. mod_asn is highly scalable. To do lookups in high-speed, it uses the PostgreSQL ip4r datatype, which is indexable with a Patricia Trie algorithm to store network prefixes. This is the most suitable algorithm, being able to search through around 250,000 existing prefixes quickly. mod_asn is usable as a standalone module, and the lookup result can be used by scripts or other Apache modules. For instance, a download redirector could base its decisions on the lookup result provided by mod_asn.
mod_athena is an Apache-based application load balancer for large systems. It allows the HTTP server to act as a load balancer either internally to Apache's own mod_proxy (for reverse proxying), or externally to machines querying it. Arbitrary statistics are sent to the engine via a simple GET plus query-string interface, from which it will then make decisions based on chosen algorithms.
mod_auth_useragent2 is an Apache module that can be used to limit access to documents by means of the User-Agent. As an authentication method, this is really unsafe because it is easy to change the User-Agent in most browsers, but it could be used to prevent stupid bots and spiders from accessing your Web sites.