[JOB] Mod_perl Web Developers for publishing company- bizjournals.com

2007-01-03 Thread Kevin Old
See our ad at: http://jobs.perl.org/job/5100 Please direct all replies to [EMAIL PROTECTED] -- Kevin Old [EMAIL PROTECTED]

Re: 302 redirects from scripts.

2007-01-03 Thread Geoffrey Young
Perrin Harkins wrote: > Geoffrey Young wrote: > >>actually, REDIRECT is an alias for HTTP_MOVED_TEMPORARILY. from >>modperl_constants.c: >> >> if (strEQ(name, "REDIRECT")) { >>return newSViv(HTTP_MOVED_TEMPORARILY); >> } > > > Isn't that basically a coincidence though? I thought the non-

Re: 302 redirects from scripts.

2007-01-03 Thread Perrin Harkins
Geoffrey Young wrote: > actually, REDIRECT is an alias for HTTP_MOVED_TEMPORARILY. from > modperl_constants.c: > > if (strEQ(name, "REDIRECT")) { > return newSViv(HTTP_MOVED_TEMPORARILY); > } Isn't that basically a coincidence though? I thought the non-HTTP constants were subject to chan

Re: 302 redirects from scripts.

2007-01-03 Thread Geoffrey Young
Perrin Harkins wrote: > Jonathan Vanasco wrote: > >> $self->{'ApacheRequest'}->status(Apache2::Const::REDIRECT); > > > Don't do that. That's an internal apache code, not an HTTP code. The > HTTP code would be something like Apache2::Const::HTTP_MOVED_TEMPORARILY. actually, REDIRECT is an

Re: 302 redirects from scripts.

2007-01-03 Thread Perrin Harkins
Jonathan Vanasco wrote: > $self->{'ApacheRequest'}->status(Apache2::Const::REDIRECT); Don't do that. That's an internal apache code, not an HTTP code. The HTTP code would be something like Apache2::Const::HTTP_MOVED_TEMPORARILY. > return Apache2::Const::REDIRECT; That's the only co

Apache->httpd_conf

2007-01-03 Thread Tyler Bird
In Mod perl 2.0 what is the equivalent of Apache->httpd_conf( qw{ ... } ); inside of a Section in httpd.conf? Tyler

Re: 302 redirects from scripts.

2007-01-03 Thread Jonathan Vanasco
On Jan 3, 2007, at 11:24 AM, Geoffrey Young wrote: my $request=Apache2::RequestUtil->request(); my $url='https://www.some.place.ac.uk/perl/newscript'; $request->headers_out->{'Location'} = $url; $request->status_line("302 Moved"); Personally, I do this: $self->{'ApacheRequest'}->hea

Re: 302 redirects from scripts.

2007-01-03 Thread Geoffrey Young
Ian Grant wrote: > Dear mod_perl types, > > A system I have installed relies on doing redirects like the code below, but > the redirects don't happen, I just get blank pages in the browser. > > I have tested temp redirects in httpd.conf and they work fine. > > Can anyone tell me if the code bel

302 redirects from scripts.

2007-01-03 Thread Ian Grant
Dear mod_perl types, A system I have installed relies on doing redirects like the code below, but the redirects don't happen, I just get blank pages in the browser. I have tested temp redirects in httpd.conf and they work fine. Can anyone tell me if the code below should work, or is there somet