RE: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-29 Thread Steve Hay
Randy Kobes wrote: On Thu, 28 Feb 2008, Issac Goldstand wrote: Steve Hay wrote: Issac Goldstand wrote: win32 (xp sp2, vc6 - no SDK upgrade) - Apache 1.41 binary - ActivePerl 5.10 (build 1002) FAIL (sorry, folks) Segfault at startup. I wonder if this is caused by mis-matched

Re: return DECLINED or OK?

2008-02-29 Thread Torsten Foertsch
On Fri 29 Feb 2008, J. Peng wrote: btw, mapping uri to disk sources in apache2 was done in MapToStorageHandler rather than Trans handler, is it? The Trans handler's task is to decide which file on disk belongs to a certain URI. So when the Trans handler is done $r-filename must not be empty.

Re: return DECLINED or OK?

2008-02-29 Thread J. Peng
On Fri, Feb 29, 2008 at 7:03 PM, Torsten Foertsch [EMAIL PROTECTED] wrote: Example continued: The entry /var/www/a/b exists on disk either as file or as directory but /var/www/a/b/c does not. Then after MapToStorage $r-filename is /var/www/a/b and $r-path_info is /c/d/e. Sorry I can't

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-29 Thread Issac Goldstand
Randy, I'm going to start building from scratch using ASF source + AS source, using default compile options, and we'll see where it goes. Have I mentioned lately how much I *hate* bootstrapping CPAN (for prereqs) on Win32? :-p Issac Steve Hay wrote: Randy Kobes wrote: On Thu, 28 Feb

Re: return DECLINED or OK?

2008-02-29 Thread Torsten Foertsch
On Fri 29 Feb 2008, J. Peng wrote: On Fri, Feb 29, 2008 at 7:03 PM, Torsten Foertsch [EMAIL PROTECTED] wrote: Example continued: The entry /var/www/a/b exists on disk either as file or as directory but /var/www/a/b/c does not. Then after MapToStorage $r-filename is /var/www/a/b and

Re: return DECLINED or OK?

2008-02-29 Thread Raymond Wan
Hi, J. Peng wrote: On Fri, Feb 29, 2008 at 7:03 PM, Torsten Foertsch [EMAIL PROTECTED] wrote: Example continued: The entry /var/www/a/b exists on disk either as file or as directory but /var/www/a/b/c does not. Then after MapToStorage $r-filename is /var/www/a/b and $r-path_info is

Re: return DECLINED or OK?

2008-02-29 Thread Torsten Foertsch
On Fri 29 Feb 2008, Raymond Wan wrote: It continues doing this, walking [up] the hierarchy, until it finds a match. Don't know what you mean by up. AFAIK it walks in this order: / /var /var/www /var/www/a /var/www/a/b For me that would be down, ;-) Torsten

Re: return DECLINED or OK?

2008-02-29 Thread J. Peng
On Fri, Feb 29, 2008 at 8:13 PM, Raymond Wan [EMAIL PROTECTED] wrote: Say you have a news site like: http://example.com/archive/news/2008/02/29/index.html A user might request that, but it wouldn't make sense to have 365 index.html's every year (ok, 366 this year :-) ). Instead, you

Re: return DECLINED or OK?

2008-02-29 Thread Michael Peters
J. Peng wrote: On Fri, Feb 29, 2008 at 8:13 PM, Raymond Wan [EMAIL PROTECTED] wrote: Say you have a news site like: http://example.com/archive/news/2008/02/29/index.html A user might request that, but it wouldn't make sense to have 365 index.html's every year (ok, 366 this year :-) ).

Re: return DECLINED or OK?

2008-02-29 Thread J. Peng
On Fri, Feb 29, 2008 at 9:52 PM, Raymond Wan [EMAIL PROTECTED] wrote: I think you'll pick it up in time and one starting point is to write some sample code and try things out... I have written lots of modperl codes actually,:) But I primarilly write with AccessHandler or ResponseHandler,

Re: return DECLINED or OK?

2008-02-29 Thread Raymond Wan
J. Peng wrote: Do you mean mod_rewrite for the trick? yes with mod_rewrite people can rewrite: http://example.com/archive/news/2008/02/29/index.html to something like: http://example.com/archive/news?object=/2008/02/29/index.html so here /archive/news is filename and /2008/02/29/index.html is

Re: Amazon

2008-02-29 Thread Jonathan Vanasco
On Feb 26, 2008, at 8:29 PM, J. Peng wrote: coding from perl to python is easy,at least it's easy for me. but,as many guys have said to me, from python to perl is not easy. perl's many features,like the rich built-in variables and context,are not so easy to be accetable by newbies. I think

RE: return DECLINED or OK?

2008-02-29 Thread Ronald Dai.
I learned what is RTFM here which is very interesting :)...I like the Ubuntu Forums policy though...but I always think reading is helpful to any developer...that's why I like both perl and java because I think they are very well documented generously somewhere within my reach on the net

Modperl: modperl-2.0_20080229115113 Make fail w/ missing runtime defs plus t/apr/finfo and vhost/config errors

2008-02-29 Thread O'DELL, TODD E (ATTOPS)
-8-- Start Bug Report 8-- 1. Problem Description: I'm on AIX 5.3. I used snapsot modperl-2.0_20080229115113. I'm failing in the make test where get a rtld:0712-001 where symbols are referenced but no runtime definition is found. I've run into a similar

Re: Amazon

2008-02-29 Thread Tom Weber/SYS/NYTIMES
On this portion of your email: But the skill set involved in writing good code is no different, regardless of your background. That is 100% true. A good person can shift languages in a heartbeat. The languages all have their strengths and weaknesses, but are mostly just syntax and

Re: MapToStorage and the use of path_info (was Re: return DECLINED...)

2008-02-29 Thread Raymond Wan
Hi Frank, Frank Maas wrote: I am using a mechanism where I use the path_info to carry information about the content to be served. However, as far as I know the only way to do this is to create a handler that is defined for the correct location. In the described situation, something like,

ANNOUNCE: Apache::AuthCookie, Apache2::AuthCookie 3.11

2008-02-29 Thread Michael Schout
The uploaded file Apache-AuthCookie-3.11.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthCookie-3.11.tar.gz size: 35827 bytes md5: 536ad77c61eaafe1ef152ccdfcdbdbd2 Changes: Version: 3.11 - Fix tiny pod doc error. - Escape CR and LF in 'destination'

Re: MapToStorage and the use of path_info (was Re: return DECLINED...)

2008-02-29 Thread Torsten Foertsch
On Fri 29 Feb 2008, Frank Maas wrote: I am using a mechanism where I use the path_info to carry information about the content to be served. However, as far as I know the only way to do this is to create a handler that is defined for the correct location. In the described situation, something

Re: return DECLINED or OK?

2008-02-29 Thread Colin Wetherbee
Ronald Dai. wrote: I learned what is RTFM here which is very interesting :)...I like the Ubuntu Forums policy though...but I always think reading is helpful to any developer...that's why I like both perl and java because I think they are very well documented generously somewhere within my reach

RE: return DECLINED or OK?

2008-02-29 Thread Ronald Dai.
Actually RTFM would not be a problem for people from academic background (meaning MS or PHD educated) at all since they have to do it all the timebut for people with more team work background these days, it might not be politically very correct... -Original Message- From: Colin

Re: return DECLINED or OK?

2008-02-29 Thread Colin Wetherbee
Ronald Dai. wrote: Actually RTFM would not be a problem for people from academic background (meaning MS or PHD educated) at all since they have to do it all the timebut for people with more team work background these days, it might not be politically very correct... I disagree. Granted, I

RE: return DECLINED or OK?

2008-02-29 Thread Ronald Dai.
Well I don't feel you are disagreeing meon the contrary I feel we are talking about the same thingpersonally I have been used to reading manuals, references, specs since I was still in academic field however, when I was mentioning today's team work culture I was kind referring to a

Re: return DECLINED or OK? [off-topic]

2008-02-29 Thread Raymond Wan
Colin Wetherbee wrote: Ronald Dai. wrote: Actually RTFM would not be a problem for people from academic background (meaning MS or PHD educated) at all since they have to do it all the timebut for people with more team work background these days, it might not be politically very correct...

Re: MapToStorage and the use of path_info (was Re: return DECLINED...)

2008-02-29 Thread J. Peng
I'm still confused why we need a path_info for the additional info to CGI/modperl scripts? Generally under CGI we say x.cgi?key=value to pass arguments, under modperl handler we say /myHandler/?key=value to do it, or using POST method. Under what case we use path_info? //joy On Sat, Mar 1, 2008

Re: return DECLINED or OK?

2008-02-29 Thread Scott Gifford
J. Peng [EMAIL PROTECTED] writes: On Fri, Feb 29, 2008 at 7:03 PM, Torsten Foertsch [EMAIL PROTECTED] wrote: Example continued: The entry /var/www/a/b exists on disk either as file or as directory but /var/www/a/b/c does not. Then after MapToStorage $r-filename is /var/www/a/b and

Re: MapToStorage and the use of path_info (was Re: return DECLINED...)

2008-02-29 Thread Raymond Wan
Joy, J. Peng wrote: I'm still confused why we need a path_info for the additional info to CGI/modperl scripts? Generally under CGI we say x.cgi?key=value to pass arguments, under modperl handler we say /myHandler/?key=value to do it, or using POST method. Under what case we use path_info?

Re: MapToStorage and the use of path_info (was Re: return DECLINED...)

2008-02-29 Thread J. Peng
On Sat, Mar 1, 2008 at 1:37 PM, Raymond Wan [EMAIL PROTECTED] wrote: Not a very technical answer, but maybe an easy way of thinking of things. The second scenario also makes it possible for Google, etc. to index your web pages since it is a real URL. In the first case, it is possible,