[users@httpd] ProxyPassMatch and space in path to a file socket

2016-03-30 Thread Ghislain

hi,

 I have ProxyPassMatch redirecting to a file socket to a php FPM 
process. The issue i have is that the ProxyPassMatch support sockets but 
it send the URL with encoding.


  Therefor "my list.php" is sent as "my%20list.php" then making it a 
404 not found.


  I use

ProxyPassMatch ^/(.*\.php(/.*)?)$ 
"unix:/home/site1/logs/php-fpm-1151.sock|fcgi://localhost/home/site1/logs/public_html" 
timeout=900


  I tried to modify things but was not able to find a solution to this. 
Is there a secret option to make it send the path unencoded ?



regards,
Ghislain.

ps: no, i would not use a network socket i don't want anybody on the 
localhost to be able to launch php code on it ;)


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] ProxyPassMatch and space in path to a file socket

2016-03-30 Thread Ghislain

Le 30/03/2016 16:26, Stormy a écrit :

At 04:02 PM 3/30/2016 +0200, Ghislain wrote:

hi,

 I have ProxyPassMatch redirecting to a file socket to a php FPM 
process. The issue i have is that the ProxyPassMatch support sockets 
but it send the URL with encoding.


  Therefor "my list.php" is sent as "my%20list.php" then making it a 
404 not found.


Too long to rehash old stories of "don't use spaces in *nix file 
names" -- you can, with caveats, but probably shouldn't, particularly 
if you want to save your sanity ;=}


Try renaming "my list.php" to mylist.php or my_list.php.

Best -- Paul


Hi Paul,

 i know, if you have a patch for human stu...y i can try to apply it to 
some webmasters ;)


 but it seems that their could be a way to ask this from php or phpfpm 
but neither seems to have it, i mean i can't find a way to do it perhaps 
they have one :)


 Of course special characters like "*" could wreck havock then.


Ghislain.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] AllowOverride

2009-11-10 Thread Pruniaux Ghislain

Hi,
Some users on my apache server need to use RewriteEngine in there directory.
They use .htaccess, but they say that does not work.
I think i must change AllowOverride for their directory (default is 
none) , but i could not find the  AllowOverride directive for the 
RewriteEngine (AuthConfig,FileInfo,Indexes,Limit,Options etc ..)


Thanks



On 11/10/2009 04:00 PM, skrishnam...@bloomberg.com wrote:

Hi,

We are looking to setup SVN over apache, but it requires the use of DAV.
There are apparently security concerns over the use of DAV over apache
2.2., in the sense that it would allow users to anonymously write
content to apache, even outside of the context of SVN. Are there any
workarounds to securely enable DAV and disallow anonymous writes etc…
Pointers to relevant literature would be appreciated.

Thanks




-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] AllowOverride

2009-11-10 Thread Ghislain Pruniaux

Next time i will open my eyes

Thanks a lot


On 11/10/2009 05:13 PM, Eric Covener wrote:

On Tue, Nov 10, 2009 at 11:04 AM, Pruniaux Ghislain
  wrote:

Hi,
Some users on my apache server need to use RewriteEngine in there directory.
They use .htaccess, but they say that does not work.
I think i must change AllowOverride for their directory (default is none) ,
but i could not find the  AllowOverride directive for the RewriteEngine
(AuthConfig,FileInfo,Indexes,Limit,Options etc ..)


Each directive lists the 'AllowOverride' that pertains to it:

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule
RewriteRule Directive
Description:Defines rules for the rewriting engine
Syntax: RewriteRule Pattern Substitution [flags]
Context:server config, virtual host, directory, .htaccess
Override:   FileInfo
^



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org