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

--- Comment #7 from Krystian Nowak <[email protected]> ---
(In reply to Ruediger Pluem from comment #6)
> > > Can you please modify the regex from
> > > ^((?!/errors/).)*$
> > > 
> > > to 
> > > 
> > > ^(?!/errors/)(.*)$
> > > 
> I understand, but for further investigations I would like to understand if
> the regexp I gave you fails in the same way. If it does not the issue might
> be caused by the high number of captures and thus gives a pointer where to
> search in the code for an issue.

I have changed the regexp according to the suggestion:

+++ b/httpd-config/conf.d/vhost.conf
@@ -9,7 +9,7 @@ ServerName segfaultserver
                RewriteEngine   on

                # Location pattern PCRE -> ap_location_walk -> ap_regexec_len
-> pcre_exec -> libpcre.so.1 (multiple entries) -> Program terminated with
signal SIGSEGV, Segmentation fault.
-               <Location ~ "^((?!/errors/).)*$">
+               <Location ~ "^(?!/errors/)(.*)$">
                        RewriteRule ^(.*) https://bz.apache.org%{REQUEST_URI}
[R=301,L]
            </Location>


and it works (doesn't crash any more).

Hope it helps in investigation!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to