httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 58834] New: ModRewrite fails with .php urls and FPM on Apache 2.4.10
Date Mon, 11 Jan 2016 20:34:43 GMT

            Bug ID: 58834
           Summary: ModRewrite fails with .php urls and FPM on Apache
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite

S.O. is Debian 8.2 jessie
Apache version: 2.4.10 (Debian)

I have a main domain ( and a subdomain (

Running Apache with FPM the following .htaccess rule in fails:

RewriteRule ^folder/(.*)\.php$$1.php [L,R=301]

The output is: "File not found."
The error in log is: AH01071: Got error 'Primary script unknown\n'

The same occurs for other directives envolving .php files such as http error
ErrorDocument 404 /error/http.php?e=404
I get always "File not found." and same AH01071 error.

Everything works fine instead with FastCGI.

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