httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://bz.apache.org/bugzilla/show_bug.cgi?id=58834

            Bug ID: 58834
           Summary: ModRewrite fails with .php urls and FPM on Apache
                    2.4.10
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite
          Assignee: bugs@httpd.apache.org
          Reporter: gherardi.riccardo@alice.it

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

I have a main domain (www.sample.com) and a subdomain (news.sample.com).

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

RewriteRule ^folder/(.*)\.php$ http://www.domain.com/folder/$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
remapping:
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message