httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56883] multiviews option causes a fail in ModRewrite
Date Mon, 25 Aug 2014 16:31:30 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56883

Eric Covener <covener@gmail.com> changed:

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

--- Comment #6 from Eric Covener <covener@gmail.com> ---
I cannot really see any misbehavior, any idea where the recreate is wrong?

Alias /PR56883 /tmp/PR56883
<Directory /tmp/PR56883>
AllowOverride none
Options +MultiViews
require all granted
RewriteEngine on
RewriteCond %{REQUEST_URI} !=/PR56883/other.html
RewriteRule ^ /PR56883/other.html
</directory>

$ wget -q http://localhost/PR56883/index -O-
<html><body><h1>other.html<h1></body></html>
$ wget -q http://localhost/PR56883/other -O-
<html><body><h1>other.html<h1></body></html>
$ wget -q http://localhost/PR56883/XXX -O-
<html><body><h1>other.html<h1></body></html>
$ ls -1 /tmp/PR56883/
index.html
other.html

When I disable mod_rewrite, negotiation works for the first two URL's as
expected.

-- 
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


Mime
View raw message