You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/02/25 12:08:35 UTC

[Bug 51194] FcgidWrapper does not support paths containing a space

https://issues.apache.org/bugzilla/show_bug.cgi?id=51194

--- Comment #6 from edw.tests@gmail.com ---
Will this patch also fix arguments to the wrapper?

For instance, right now the following is impossible with 2.3.7:
FcgidWrapper "c:/php/bin/php-cgi.exe -d open_basedir='C:\\Shared Files\\'" .php

While this works fine: 
FcgidWrapper "c:/php/bin/php-cgi.exe -d open_basedir='C:\\Shared_Files\\'" .php

I know I can work around this by either renaming my paths or using a script
file instead of php-cgi.exe directly, but this gets extremely annoying when
developing and testing with both mod_php and fcgi.

The current situation forces the use of a separate configuration (wrapper) file
for each virtual host. This is not very nice since it's easy to forget to
update the wrapper script. 

If this directive supported spaces in its arguments, It would be possible to
keep everything together in the virtual hosts configuration file like:

<IfModule mod_php5.c>
  php_admin_value open_basedir "C:\\Shared Files\\"
</IfModule>

<IfModule fcgid_module>
  <Files ~ "\.php$">
    AddHandler fcgid-script .php
    FcgidWrapper "c:/php/bin/nts/php-cgi.exe -d open_basedir='C:\\Shared
Files\\'" .php
  </Files>
</IfModule>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org