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: [email protected]
          Reporter: [email protected]

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to