external redirect

2009-01-23 Thread fka...@googlemail.com
Hi, I'd like to do an external redirect. When I return HTTP_MOVED_TEMPORARILY from my request handler, the client browser gets the standard FOUND message which is ok so far. However, when I also try to set the new Location this always causes a segmentation fault: char*

Re: external redirect

2009-01-23 Thread Peter Poeml
On Fri, Jan 23, 2009 at 10:07:38AM +0100, fka...@googlemail.com wrote: Hi, I'd like to do an external redirect. When I return HTTP_MOVED_TEMPORARILY from my request handler, the client browser gets the standard FOUND message which is ok so far. However, when I also try to set the new

Re: external redirect

2009-01-23 Thread Peter Poeml
On Fri, Jan 23, 2009 at 06:24:14PM +0900, Juhani Connolly wrote: I had a similar problem answered here not long ago though it wasn't causing a segfault. Try using r-err_headers_out instead of r-headers_out For the Location header, r-headers_out is correct. For additional headers,

Re: external redirect

2009-01-23 Thread Robert Schulze
Hi, fka...@googlemail.com schrieb: However, when I also try to set the new Location this always causes a segmentation fault: char* uri=apr_pstrdup(r-pool,http://localhost/abcdef;); apr_table_setn(r-headers_out,Location,uri); return HTTP_MOVED_TEMPORARILY; Like others stated, it works this

Re: external redirect

2009-01-23 Thread fka...@googlemail.com
Peter Poeml: It should work just like that. In which line does the crash precisely happen? In my code (see below) it is triggered if I try to set the apr_table_t and *then* return. When returning *only* there is no seg fault. Please see the comments in the code. It must be something

Re: external redirect

2009-01-23 Thread Peter Poeml
On Fri, Jan 23, 2009 at 11:33:29AM +0100, fka...@googlemail.com wrote: Peter Poeml: It should work just like that. In which line does the crash precisely happen? In my code (see below) it is triggered if I try to set the apr_table_t and *then* return. When returning *only* there is no

Re: Using gzip and CustomLog

2009-01-23 Thread Rainer Jung
On 23.01.2009 08:45, Paras Fadte wrote: Can you please tell me in which file ? I assume you are building rotatelogs from within the httpd sources. There is a file support/Makefile, which contains a line $(LINK) $(rotatelogs_LTFLAGS) $(rotatelogs_OBJECTS) $(PROGRAM_LDADD) Simply add -lz at

Re: Using gzip and CustomLog

2009-01-23 Thread Paras Fadte
Thanks Rainer, yeah.. me not a pro at development . On Fri, Jan 23, 2009 at 1:30 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 23.01.2009 08:45, Paras Fadte wrote: Can you please tell me in which file ? I assume you are building rotatelogs from within the httpd sources. There is a

Re: SNI test case

2009-01-23 Thread Dan Poirier
Guenter Knauf fua...@apache.org writes: Very useful. Might also make sense in a perlified version as part of the test code. here's a first perlified version; not finished yet; needs some cleanup, and not checked yet the results; but before someone else starts on it and doubles work I

Syntax error in configure script

2009-01-23 Thread Perry Smith
I was not sure which list to try first: development or bug. This may turn out to be a bash bug but I thought I would start here. I'm trying to run the configure script for httpd. It calls the configure script for srclib/apr-util. I'm running AIX 5.3. I have tried bash 3.2 with patches as

FW: Syntax error in configure script

2009-01-23 Thread enquiries
Hello Is there any reason why we keep getting these emails? Thanks Mark Pilling Advice Service Manager British Lung Foundation Orleans House Edmund St Liverpool L3 9NG Tel: 08458 505020 Fax: 0151 224 7779 -Original Message- From: Perry Smith [mailto:pedz...@gmail.com] Sent: 23

Re: FW: Syntax error in configure script

2009-01-23 Thread Sascha Kersken
Hi, enquiries wrote: Hello Is there any reason why we keep getting these emails? The reason is simply that someone in your organization subscribed to this mailing list. If you do not like getting the emails, you may unsubscribe and then ask the person in question to use a personal email

Re: [summary] accept mod_fcgid codebase into httpd project

2009-01-23 Thread Chris Darroch
William A. Rowe, Jr. wrote: sounds great, the form is here; http://svn.apache.org/repos/asf/incubator/public/trunk/site-author/ip-clearance/ip-clearance-template.xml Good god is incubator/public/trunk/ a mess ;-) OK, I'll take a whack at filling it out and post back the results -- might