Apache HTTPD and Module API VersionsNovember 25th, 2008
« .htaccess Plugin Blocks Spam, Hackers, and Password Protects BlogAdvanced .htaccess Tricks for Securing Sites »
The API_VERSION can be found by using either the mod_rewrite.c module, or the mod_info.c module. Here is how the mod_rewrite module defines it.
To find the Apache API Version, which tells us among other things the version of Apache being run, we can use the tricks detailed in the crazy advanced mod_rewrite tutorial to find it using .htaccess directives.
RewriteEngine On
RewriteBase /
RewriteRule .* - [E=INFO_API_VERSION:%{API_VERSION},NE]
RequestHeader set INFO_API_VERSION "%{INFO_API_VERSION}e"
MODULE_MAGIC_NUMBERMODULE_MAGIC_NUMBER_MAJORMODULE_MAGIC_NUMBER_MINORMODULE_MAGIC_NUMBER_MAJOR.« .htaccess Plugin Blocks Spam, Hackers, and Password Protects BlogAdvanced .htaccess Tricks for Securing Sites »
Tags: Apache, Apache Modules, httpd, Module API
The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. Tim Berners-Lee
It's very simple -
you read the protocol
and write the code.
-Bill Joy
HTML | DCMI | GRDDL | XOXO | XDMP | XFN | DOM | XML | XHTML 1.1 Strict | CSS 2.1 | W3C | WAI | DISA | ICSI | GIAC | SANS RR | GHOST
Authority: 110 ↑ TOPExcept where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed according to these terms. "Apache" is a trademark of The ASF.
What radio station is playing? Realy nice!