<br><br><div class="gmail_quote">On 16 August 2010 19:24, Piotr Karbowski <span dir="ltr">&lt;<a href="mailto:jabberuser@gmail.com">jabberuser@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 16.08.2010 19:24, Frank Church wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
On 16 August 2010 16:46, Piotr Karbowski&lt;<a href="mailto:jabberuser@gmail.com" target="_blank">jabberuser@gmail.com</a>&gt;  wrote:<br>
<br></div><div class="im">
Apache uses suexec to run the fastcgi under the user accounts permissions,<br>
the script I am using the php-fcgi daemon in /etc/init.d?<br>
</div></blockquote>
<br>
I have no idea about what /etc/init.d/php-fcgi script you are talking. I guess it&#39;s distro specified script which use spawn-fcgi to spawn php.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Does nginx have the ability to do the same?<br>
</blockquote>
<br></div>
As I said, depends on what cgi you are talking about.<br>
<br>
Nginx don&#39;t have ability to run cgi itself, it can connect to listening php or any other fastcgi. If you are talking about php, you can use spawn-fcgi or php-fpm (better) to run php as specified user.<br>
<br>
So yes, you can have php script running as selected user.<br>
<br>
Your way of thinking has been distorted by apache&#39;s mod_php propably.<div><div></div><div class="h5"><br></div></div></blockquote><div><br>Apache suexec actually.<br><br>Googling has led me to the fact that different a separate php-fcgi can be made to run on a separate port for each user. It isn&#39;t what I expected as it has to be run manually for each user, but it is good enough for my needs.<br>
<br>PS. I posted an earlier thread about the problems I am having with an empty $_REQUEST, $_GET and $_POST variables.  Can you help me with that?<br><br><br><br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div class="h5">
<br>
-- Piotr.<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>