Jump to content

Spaces in url pathname causing proxy_fcgi:error AH01071:Primary script unknown


Recommended Posts

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.

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.