diff --git a/docs/manual/mod/mod_example.html.en b/docs/manual/mod/mod_example.html.en index 9a4f349e44..c82a9c79de 100644 --- a/docs/manual/mod/mod_example.html.en +++ b/docs/manual/mod/mod_example.html.en @@ -29,14 +29,7 @@
The files in the src/modules/example directory
+
Some files in the modules/experimental directory
under the Apache distribution directory tree are provided as an
example to those that wish to write modules that use the Apache
API.
src/Configuration file.
- If there isn't one, add it; it should look like this:
-
- AddModule modules/example/mod_example.o
-
configure with --enable-example
+ option.
- src/Configure script
- ("cd src; ./Configure"). This will
- build the Makefile for the server itself, and update the
- src/modules/Makefile for any additional modules
- you have requested from beneath that subdirectory.make" in the
- src directory).make").To add another module of your own:
mkdir src/modules/mymodulecp modules/experimental/mod_example.c
+ modules/new_module/mod_myexample.ccp src/modules/example/*
- src/modules/mymodulemodules/new_module/config.m4.
+ APACHE_MODPATH_INIT(new_module).modules/experimental/config.m4.configure --help.config.m4 files in modules directory for
+ examples.APACHE_MODPATH_FINISH.module/new_module/Makefile.in.
+ If your module doesn't need special build instructions,
+ all you need to have in that file is
+ include $(top_srcdir)/build/special.mk.mod_example ModuleTo activate the example module, include a block similar to
- the following in your srm.conf file:
httpd.conf file:
The files in the Some files in the To add another module of your own: To activate the example module, include a block similar to
- the following in your
<Location /example-info>
SetHandler example-handler
diff --git a/docs/manual/mod/mod_example.xml b/docs/manual/mod/mod_example.xml
index 2423981335..0bd2fea959 100644
--- a/docs/manual/mod/mod_example.xml
+++ b/docs/manual/mod/mod_example.xml
@@ -10,14 +10,7 @@
src/modules/example directory
+ modules/experimental directory
under the Apache distribution directory tree are provided as an
example to those that wish to write modules that use the Apache
API.
src/Configuration file.
- If there isn't one, add it; it should look like this:
-configure with --enable-example
+ option.
- src/Configure script
- ("cd src; ./Configure"). This will
- build the Makefile for the server itself, and update the
- src/modules/Makefile for any additional modules
- you have requested from beneath that subdirectory.make" in the
- src directory).make").
-
mkdir src/modules/mymodulecp modules/experimental/mod_example.c
+ modules/new_module/mod_myexample.ccp src/modules/example/*
- src/modules/mymodulemodules/new_module/config.m4.
+
+
+ APACHE_MODPATH_INIT(new_module).modules/experimental/config.m4.configure --help.config.m4 files in modules directory for
+ examples.APACHE_MODPATH_FINISH.module/new_module/Makefile.in.
+ If your module doesn't need special build instructions,
+ all you need to have in that file is
+ include $(top_srcdir)/build/special.mk.mod_example Modulesrm.conf file:httpd.conf file: