httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 45187] Long File name requests gives FORBIDDEN response
Date Thu, 08 May 2014 09:23:09 GMT

Anton Voloshin <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #21 from Anton Voloshin <> ---
(In reply to Hiep Pham from comment #20)
> Could you give me some suggestions?

I've ended up moving those mod_rewrite rules from .htaccess to apache config
file, then suddenly this bug disappears. This is the only workaround I'm aware
of. In my particular case those rules are (from
    <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
        RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
        #nosubreq is needed to pass on internal subrequests: dir/ =>
        RewriteRule ^/20[0-9][0-9]/[0-9][0-9]/([0-9]+) /news/index.php?id=$1

Those rules did not work in .htaccess with very long URIs (giving the infamous
"403 forbidden") but they work just fine in the apache config file.

However, this is a real bug and it should be fixed.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message