httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martynas Bendorius <>
Subject mod_proxy: PHP SCRIPT_FILENAME (PHP-FPM using UDS) and Apache documentation
Date Wed, 10 Sep 2014 16:00:57 GMT
Hello, breaks 
PHP-FPM SCRIPT_FILENAME. It contains double "//" at the beginning of it 
SCRIPT_FILENAME: //home/admin/domains/testing.tld/public_html/test.php

While it should be:
SCRIPT_FILENAME: /home/admin/domains/testing.tld/public_html/test.php

Replacing "localhost/" to just "localhost" fixes the problem (removing / 
from the end).

I mean:
SetHandler  "proxy:unix:/path/to/app.sock|fcgi://localhost"

Instead of:
SetHandler  "proxy:unix:/path/to/app.sock|fcgi://localhost/"

Should it be considered a typo in Apache documentation or a bug in the 
way PHP-FPM SAPI translates the path?

Thank you!

Best regards,
Martynas Bendorius

View raw message