Quantcast
Channel: Plesk 12.x for Linux
Viewing all articles
Browse latest Browse all 5091

FPM handler broken with paths containing spaces

$
0
0
When serving PHP via the fpm handler, it will throw a (404) "file not found" error when the file requested (or it's directoy path) contains any spaces.
Is there an easy workaround, except using the FastCGI handler? (or convincing the customer to not use spaces in file or directory names)

I know that it works when using FPM via unix sockets instead of tcp sockets in a construct like this:

Code:
<FilesMatch \.php(/.*)?$>
  SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi://www-data/"...
FPM handler broken with paths containing spaces

Viewing all articles
Browse latest Browse all 5091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>