diff options
author | Ruediger Pluem <rpluem@apache.org> | 2023-04-19 10:39:19 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2023-04-19 10:39:19 +0000 |
commit | ce6f92eb8562420f8e5999d646a00e8969ace8d2 (patch) | |
tree | 11e1847579af06b53da2ab837715670fd767b9b8 /modules | |
parent | a4a684c64a7a42f828fdda1b9a4e647b3ba026d1 (diff) | |
download | httpd-ce6f92eb8562420f8e5999d646a00e8969ace8d2.tar.gz |
* Add server directory to include path as mod_rewrite requires test_char.h.
PR: 66571
Submitted by: Valeria Petrov <valeria.petrov@spinetix.com>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mappers/config9.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4 index 55a97ab993..7120b729b7 100644 --- a/modules/mappers/config9.m4 +++ b/modules/mappers/config9.m4 @@ -14,6 +14,11 @@ APACHE_MODULE(userdir, mapping of requests to user-specific directories, , , mos APACHE_MODULE(alias, mapping of requests to different filesystem parts, , , yes) APACHE_MODULE(rewrite, rule based URL manipulation, , , most) +if test "x$enable_rewrite" != "xno"; then + # mod_rewrite needs test_char.h + APR_ADDTO(INCLUDES, [-I\$(top_builddir)/server]) +fi + APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current]) APACHE_MODPATH_FINISH |