Copying things from request.META to the env parameter of Popen allows
me to get the cgi off the ground. Now I have the problem that the cgi
is generating a cookie and content type, which django returns to the
browser as page content.
Is there a way to pass it back transparently? Or, failing that,
On Mon, Dec 6, 2010 at 4:42 PM, bc wrote:
> Is there any simple way to use django authentication/authorization to
> control access to an existing (not django) cgi?
>
> I could use subprocess.Popen to invoke the cgi after checking
> authorization, but the environment needs to be set up to look lik
Is there any simple way to use django authentication/authorization to
control access to an existing (not django) cgi?
I could use subprocess.Popen to invoke the cgi after checking
authorization, but the environment needs to be set up to look like a
cgi call (setting QUERY_STRING, etc.). Is there a
3 matches
Mail list logo