Mailing List Archive

cookie troubles
On Mon, Apr 24, 2006 at 03:25:26PM -0700, Daniel wrote:
> On Mon, Apr 24, 2006 at 03:17:52PM -0700, Daniel wrote:
> > > > I'm running this with cgi with lighttpd. Since I couldn't get
> > > > anythign at all working with embpcgi.pl, I removed the line
> > > > causing embpexec.pl to die if used as CGI script, and all
> > > > other aspects of it appear to be fine. I did that approach
> > > > because I don't know if there's an apache/lighttpd difference
> > > > in how the scripts are called. Btw, if I can get this
> > > > working, I'd be happy to write up how to use this with lighttpd.
> > > >
> > >
> > > I never have used lighttpd, so I don't know the difference. The difference
> > > between the two scripts is maninly how they get passed the filename.
> >
> > $http_headers_out{'Location'} = "www.hotmail.com";
> > isn't working from my current setup. Based on what you've said on how
> > the filename is passed, it doesn't sound like there's an issue there.
> >
> > Any idea what the problem here can be?
>
> just to note, http:// etc doesn't work either.

I discouvered I can do print "Set-Cookie:", print "Location:" etc to write
the header myself which I'm doing for now just to get things working.

I'd love to hear a solution or what the problem might be?


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: cookie troubles [ In reply to ]
> > >
> > > $http_headers_out{'Location'} = "www.hotmail.com"; isn't working
> > > from my current setup. Based on what you've said on how
> the filename
> > > is passed, it doesn't sound like there's an issue there.
> > >
> > > Any idea what the problem here can be?
> >
> > just to note, http:// etc doesn't work either.
>
> I discouvered I can do print "Set-Cookie:", print "Location:"
> etc to write the header myself which I'm doing for now just
> to get things working.
>
> I'd love to hear a solution or what the problem might be?
>

Either set optSendHttpHeader (32) or make sure that the environemnt variable
GATEWAY_INTERFACE is set, then Embperl should send the headers on it's own

Gerald



** Virus checked by BB-5000 Mailfilter **


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: RE: cookie troubles [ In reply to ]
> Either set optSendHttpHeader (32) or make sure that the environemnt variable
> GATEWAY_INTERFACE is set, then Embperl should send the headers on it's own

thanks gerald.
I checked the documentation quite extensivly. I can't find this option
in the docs. is it missing?

i also noticed some settings like optRawInput (see my escmode question)
which were present in the 1.3.6 docs are missing in 2.2.0. Is that an oversight?

-d

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: RE: cookie troubles [ In reply to ]
>
> > Either set optSendHttpHeader (32) or make sure that the environemnt
> > variable GATEWAY_INTERFACE is set, then Embperl should send the
> > headers on it's own
>
> thanks gerald.
> I checked the documentation quite extensivly. I can't find
> this option in the docs. is it missing?
>

It's only in internal undocument option, set automaticly when the
environemnt variable GATEWAY_INTERFACE is set, like in an CGI enviroment.

> i also noticed some settings like optRawInput (see my escmode
> question) which were present in the 1.3.6 docs are missing in
> 2.2.0. Is that an oversight?

See optRawInput doesn't exist anymore, use Embperl_Input_Escmode instead.
See README.v2 for a list what has changed

Gerald



** Virus checked by BB-5000 Mailfilter **


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: RE: cookie troubles [ In reply to ]
> Either set optSendHttpHeader (32) or make sure that the environemnt variable
> GATEWAY_INTERFACE is set, then Embperl should send the headers on it's own

now I had all that working fine en embperl 2.2.0 but because of the
table problems, I wanted to go back to 1.3.6. for later migration (and I
was so close too!)

However, now the headers are not working in 1.3.6. I didn't seem to have
a special setting in apache to make it work for 1.3.6

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Re: RE: cookie troubles [ In reply to ]
On Fri, Apr 28, 2006 at 02:50:01PM -0700, Daniel wrote:
> > Either set optSendHttpHeader (32) or make sure that the environemnt variable
> > GATEWAY_INTERFACE is set, then Embperl should send the headers on it's own
>
> now I had all that working fine en embperl 2.2.0 but because of the
> table problems, I wanted to go back to 1.3.6. for later migration (and I
> was so close too!)
>
> However, now the headers are not working in 1.3.6. I didn't seem to have
> a special setting in apache to make it work for 1.3.6
>

does anyone know about this?


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: RE: cookie troubles [ In reply to ]
>
> > Either set optSendHttpHeader (32) or make sure that the environemnt
> > variable GATEWAY_INTERFACE is set, then Embperl should send the
> > headers on it's own
>
> now I had all that working fine en embperl 2.2.0 but because
> of the table problems, I wanted to go back to 1.3.6. for
> later migration (and I was so close too!)
>
> However, now the headers are not working in 1.3.6. I didn't
> seem to have a special setting in apache to make it work for 1.3.6
>
>

I guess you have the same problem as with 2.2 and header. Let us first look
at the enviroment, as I wrote in my other mail.

Gerald



** Virus checked by BB-5000 Mailfilter **


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: RE: RE: cookie troubles [ In reply to ]
On Thu, May 04, 2006 at 09:39:37AM +0200, Gerald Richter wrote:
> >
> > > Either set optSendHttpHeader (32) or make sure that the environemnt
> > > variable GATEWAY_INTERFACE is set, then Embperl should send the
> > > headers on it's own

Yes, this was the first thing I checked:

GATEWAY_INTERFACE" => "1",


-d

> >
> > now I had all that working fine en embperl 2.2.0 but because
> > of the table problems, I wanted to go back to 1.3.6. for
> > later migration (and I was so close too!)
> >
> > However, now the headers are not working in 1.3.6. I didn't
> > seem to have a special setting in apache to make it work for 1.3.6
> >
> >
>
> I guess you have the same problem as with 2.2 and header. Let us first look
> at the enviroment, as I wrote in my other mail.
>
> Gerald
>
>
>
> ** Virus checked by BB-5000 Mailfilter **
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

--
"One certain effect of war is to diminish freedom of expression. Patriotism
becomes the order of the day and those who question the war are seen as
traitors, to be silenced and imprisoned." - Howard Zinn

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: RE: RE: cookie troubles [ In reply to ]
>
> GATEWAY_INTERFACE" => "1",
>

I would like to see the whole environment

Gerald



** Virus checked by BB-5000 Mailfilter **


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: RE: RE: RE: cookie troubles [ In reply to ]
On Tue, May 09, 2006 at 05:09:13AM +0200, Gerald Richter wrote:
> >
> > GATEWAY_INTERFACE" => "1",
> >
>
> I would like to see the whole environment
>
> Gerald

fyi, the syntax EmbperlBlocks fixed all my issues with upgrading to
2.2.0 so I never tried sorting this out.

thanks much.


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org