"Fossies" - the Fresh Open Source Software Archive

Member "mod_chroot-0.5/mod_chroot.c" (12 Jun 2005, 682 Bytes) of package /linux/www/apache_httpd_modules/old/mod_chroot-0.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #include <httpd.h>
    2 
    3 #if defined(APACHE_RELEASE) && APACHE_RELEASE>10300000 \
    4     && APACHE_RELEASE<10399999
    5 #include "src/apache13/mod_chroot.c"
    6 #define MODCHROOT_APACHE_VERSION 13
    7 // The line below makes apxs bootstrap symbol name detection work
    8 // module MODULE_VAR_EXPORT chroot_module = {
    9 #endif
   10 
   11 #if !defined(MODCHROOT_APACHE_VERSION) && defined(AP_SERVER_BASEVERSION)
   12 #include "src/apache20/mod_chroot.c"
   13 // The line below makes apxs bootstrap symbol name detection work
   14 // module AP_MODULE_DECLARE_DATA chroot_module = {
   15 #define MODCHROOT_APACHE_VERSION 20
   16 #endif
   17 
   18 #if !defined(MODCHROOT_APACHE_VERSION)
   19 #error Could not detect your Apache version. Please report a bug.
   20 #endif
   21