You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/02/01 00:23:17 UTC

[Bug 56094] mod_rewrite doesn't expose client_addr

https://issues.apache.org/bugzilla/show_bug.cgi?id=56094

--- Comment #5 from Reindl Harald <h....@thelounge.net> ---
got it - the patch is fine, rpmbuild on likes a path-component before
"modules", most likely because -p1, well i am not that good in patch-handling

the config below works exactly as expected - thank you!

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
______________________________________

<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{CONN_REMOTE_ADDR} !^127\.0\.0\.1
 RewriteCond %{HTTPS} off
 RewriteRule (.*) https://www.example.com%{REQUEST_URI}
</IfModule>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org