turtleTower Posted July 23 Share Posted July 23 Hello, I am moving site from windows xampp to apache 2.4.52 php 7.4.33 on ubuntu 24.04. Everything is working except I am having trouble calling the php files on this site (image, txt & html all are found regardless of folder structure). I tracked down the problem to having spaces within the url path. For example this works: "https://site.lan/myfolder/phpinfo.php" but this fails with php file not found: "https://site.lan/my%20folder/phpinfo.php" I tried setting "AllowEncodedSlashes on" and then using "https://site.lan/my%5C%20folder/phpinfo.php" to try to escape it, but that is not what I wanted. Any ideas on a workaround for this? Somehow xampp was able to sort it out. Quote Link to comment https://forums.phpfreaks.com/topic/322514-spaces-in-url-pathname-causing-proxy_fcgierror-ah01071primary-script-unknown/ Share on other sites More sharing options...
turtleTower Posted July 24 Author Share Posted July 24 Seems to be bug in mod_proxy_fcgi https://bz.apache.org/bugzilla/show_bug.cgi?id=69203 Quote Link to comment https://forums.phpfreaks.com/topic/322514-spaces-in-url-pathname-causing-proxy_fcgierror-ah01071primary-script-unknown/#findComment-1630781 Share on other sites More sharing options...
gizmola Posted August 9 Share Posted August 9 Never a good idea to allow for spaces in directories or file names. BTW, docker is a good way to locally simulate a deployment platform that differs from your development platform. 1 Quote Link to comment https://forums.phpfreaks.com/topic/322514-spaces-in-url-pathname-causing-proxy_fcgierror-ah01071primary-script-unknown/#findComment-1632268 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.