« .htaccess Plugin Blocks Spam, Hackers, and Password Protects BlogHtaccess SetEnvIf and SetEnvIfNoCase Examples »
Apache HTTPD and Module API Versions
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.
MODULE_MAGIC_NUMBERMODULE_MAGIC_NUMBER_MAJORMODULE_MAGIC_NUMBER_MINORMODULE_MAGIC_NUMBER_MAJOR.
« .htaccess Plugin Blocks Spam, Hackers, and Password Protects Blog
Htaccess SetEnvIf and SetEnvIfNoCase Examples »
The love of liberty is the love of others; the love of power is the love of ourselves.
-- William Hazlitt
The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. Tim Berners-Lee
Tags: 503, Advanced, Apache, Apache Modules, askapache, Htaccess, httpd, Module API, Mod_Rewrite, Rewrite Tricks, rewritecond, server, SSI, stat, trick, tutorial,
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
Except 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. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group.
POSIX ® is a registered Trademark of The IEEE.
What radio station is playing? Realy nice!