https://bz.apache.org/bugzilla/show_bug.cgi?id=69241

Ruediger Pluem <rpl...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Ruediger Pluem <rpl...@apache.org> ---
Unfortunately I cannot reproduce the below issue with 2.4.62 and the following
minimal configuration:

ServerRoot "/usr/src/apache/apache_2.4.62"

Listen 9090

LoadModule mpm_event_module modules/mod_mpm_event.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule mime_module modules/mod_mime.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so

User daemon
Group daemon

DocumentRoot "/usr/src/apache/apache_2.4.62/htdocs"
<Directory "/usr/src/apache/apache_2.4.62/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

ErrorLog "logs/error_log"

LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog "logs/access_log" common

RewriteEngine On
RewriteRule ^ balancer://forwarders/?domain=%{HTTP_HOST} [P,END]

<Proxy balancer://forwarders>
    Balancermember http://127.0.0.1:9998
    Balancermember http://127.0.0.1:9999
</Proxy>


Do I miss something in my configuration? What happens if you use the above
configuration? Do things work correctly then?

--- Comment #2 from Dave <dzambon...@names.co.uk> ---
Apologies spending some time getting back to you over this, my local buildsys
was broken due to a metadata issue. I can confirm that under my setup your
config works; however wrapping the Rewrite rules in a <Directory> causes it to
fail (/var/www/html in my case):

<Directory /usr/src/apache/apache_2.4.62/htdocs>
    RewriteEngine On
    RewriteRule ^ balancer://forwarders/?domain=%{HTTP_HOST} [P,END]
</Directory>

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to