stas 02/05/05 11:22:34
Modified: src/docs/1.0/guide config.pod Changes.pod
Log:
* guide::config
o show an example on how to load the mod_perl related config only
when mod_perl is loaded (Rafael Garcia-Suarez)
Revision Changes Path
1.7 +8 -0 modperl-docs/src/docs/1.0/guide/config.pod
Index: config.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/config.pod,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- config.pod 3 Apr 2002 09:16:08 -0000 1.6
+++ config.pod 5 May 2002 18:22:33 -0000 1.7
@@ -402,6 +402,14 @@
Include conf/mod_perl.conf
+If you want to include this configuration conditionally, depending on
+whether your apache has been compiled with mod_perl, you can use the
+C<IfModule> directive:
+
+ <IfModule mod_perl.c>
+ Include conf/mod_perl.conf
+ </IfModule>
+
mod_perl adds two further directives: C<E<lt>PerlE<gt>> sections allow
you to execute Perl code from within any configuration file at server
startup time, and as you will see later, a file containing any Perl
1.16 +3 -0 modperl-docs/src/docs/1.0/guide/Changes.pod
Index: Changes.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/Changes.pod,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- Changes.pod 27 Apr 2002 18:32:39 -0000 1.15
+++ Changes.pod 5 May 2002 18:22:33 -0000 1.16
@@ -49,6 +49,9 @@
o extended on method handlers (Per Einar Ellefsen)
+ o show an example on how to load the mod_perl related config only
+ when mod_perl is loaded (Rafael Garcia-Suarez)
+
* guide::debug
o extended on curinfo macro (Per Einar Ellefsen)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]