On Wednesday 2012-02-22 15:40, Mark Montague wrote:
> On February 22, 2012 6:10 , Jan Engelhardt <jeng...@medozas.de> wrote:
>>
>> RewriteEngine On
>> RewriteRule \.php$
>> proxy:fcgi://localhost:8002/%{DOCUMENT_ROOT}/%{SCRIPT_FILENAME}
>>
>> I share the dismay you might be expressing at seeing that. Is there a
>> nicer way to configure accessing FPM through FastCGI?
>
> No, what I've been using is very similar:
>
> RewriteRule ^/?(.*\.php)$ fcgi://127.0.0.1:9003/www/wp3/wordpress/$1 [P,L]

Could $1 possibly contain ../../secret.php, or does Apache
already filter such hacks appropriately?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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

Reply via email to