Re: mod_webapp and apache 2.0

2001-12-06 Thread Justin Erenkrantz
On Wed, Dec 05, 2001 at 07:29:58PM -0800, Charles Yates wrote: On Wed, Dec 05, 2001 at 09:34:55AM -0800, Charles Yates wrote: After getting errors from apachectl configtest relating to invalid port I added a Port directive to httpd.conf and got an error that Port directive had been

[PATCH] mod_webapp and Apache 2.0

2001-12-05 Thread Justin Erenkrantz
Gets rid of lame warnings against latest httpd-2.0 and APR. -- justin Index: webapp/apache-2.0/mod_webapp.c === RCS file: /home/cvspublic/jakarta-tomcat-connectors/webapp/apache-2.0/mod_webapp.c,v retrieving revision 1.6 diff -u

Re: mod_webapp and apache 2.0

2001-12-05 Thread Justin Erenkrantz
On Wed, Dec 05, 2001 at 09:34:55AM -0800, Charles Yates wrote: After getting errors from apachectl configtest relating to invalid port I added a Port directive to httpd.conf and got an error that Port directive had been replaced by Listen. I then removed my Port directive, hacked on

Re: [PATCH] mod_jk for Apache 2.0 minor fixes

2001-12-01 Thread Justin Erenkrantz
On Fri, Nov 30, 2001 at 07:25:40PM -0500, GAWLAS,JULIUS (HP-Cupertino,ex1) wrote: This patch contains minor fixes for mod_jk for Apache 2.0; Most important is the change in prototype of jk_post_config which used to be void but now needs to return success code, also changes to types of

Re: Mod_webapp Solaris 8

2001-11-28 Thread Justin Erenkrantz
On Wed, Nov 28, 2001 at 11:15:07AM -0500, Matt Goyer wrote: Syntax error on line 206 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_webapp.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file

Re: Mod_webapp Solaris 8

2001-11-28 Thread Justin Erenkrantz
On Wed, Nov 28, 2001 at 12:31:13PM -0500, mgoyer wrote: Httpd was built with gcc-3.0.1 the same version that I'm using for mod_webapp. Then, just add -R/path/to/gcc-3.0.1/lib to your LDFLAGS for httpd. (Using gcc-3.0.1 on Solaris is a really tricky beast because gcc doesn't add the -R flags

Re: Mod_webapp Solaris 8

2001-11-28 Thread Justin Erenkrantz
On Wed, Nov 28, 2001 at 01:26:41PM -0500, Matt Goyer wrote: Tricky beast it is! I installed gcc 3.0.1 using the sunfreeware package and it looks like it's sticking the lib files in /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1 so: To configure Apache I'm doing:

Re: Mod_webapp Solaris 8

2001-11-28 Thread Justin Erenkrantz
On Wed, Nov 28, 2001 at 10:32:05AM -0800, Justin Erenkrantz wrote: You could try: LIBS=-Lgcc \ LDFLAGS=-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1 \ ./configure --enable-module=rewrite --enable-shared=rewrite Ack, I meant -lgcc not -Lgcc. Freezing cold sticky fingers. -- justin

Re: mod_webapp apache2 problems:

2001-11-21 Thread Justin Erenkrantz
On Wed, Nov 21, 2001 at 09:22:02AM -0600, Brian P Millett wrote: Quick Synopsis of error (apache 2.0): Syntax error on line 2 of /opt/apache/conf/mod_webapp.conf: Invalid port number (p1) No Port statement found Oooh, I bet it is related to the change that we committed to set port to 0

Re: Problem compiling mod_webapp for IBM HTTP Server 1.9.19 running on AIX 4.3.3. Please help save Tomcat for a high profile project in Switzerland

2001-11-18 Thread Justin Erenkrantz
On Sat, Nov 17, 2001 at 08:51:24PM +0100, [EMAIL PROTECTED] wrote: First of all I attempt to calmly summarize the problem and only then let my emotions get through. My insufficient knowledge of AIX platforms prevents me from successfully compiling mod_webapp (as well mod_jk) on AIX 4.3.3

Re: Performance of tomcat 3.2.3

2001-11-16 Thread Justin Erenkrantz
On Fri, Nov 16, 2001 at 09:16:18AM -0800, Michael Jennings wrote: Hi everyone, I'm working on a project for a client that involves a servlet engine component. I suggested tomcat since I am most familiar with it and it seems the most compliant servlet engine around. My client has mentioned

Re: [J-T-C] Update: Building mod_jk for Apache 2.0/Windows

2001-10-02 Thread Justin Erenkrantz
On Tue, Oct 02, 2001 at 10:29:41AM -0500, Marc Saegesser wrote: Here's an update on where I stand right now on building/running mod_jk for Apache 2.0 beta 16. Please don't use Apache 2.0.16. Use the latest version from CVS. Also, I'm not sure where automake is coming from - we don't use

Re: [J-T-C] Update: Building mod_jk for Apache 2.0/Windows

2001-10-02 Thread Justin Erenkrantz
On Tue, Oct 02, 2001 at 01:24:53PM -0500, Marc Saegesser wrote: I'll grab the latest CVS and see how that works. The buildconf.sh in jk/native/Apache-2.0 runs libtoolize, automake, aclocal and autoconf. Cygwin includes all of these except libtool. I built it and installed it into

Re: Re: Apache/Tomcat Collaboration

2001-10-01 Thread Justin Erenkrantz
On Mon, Oct 01, 2001 at 01:49:20AM -0700, [EMAIL PROTECTED] wrote: I think option 2 ( in-process ) is what mod_jk is doing - the code has been written and used quite a bit in the last year. It didn't got all the attention that Ajp got, because it doesn't work with Apache1.3, only with IIS and

Re: Apache/Tomcat Collaboration

2001-09-30 Thread Justin Erenkrantz
On Sun, Sep 30, 2001 at 01:46:37PM -, Shailesh S. Gokhale wrote: 1. I understand that Tomcat can work with any (supported) web server in two modes - 'In Proc' and 'Out of Proc'. I have successfully configured Tomcat (Out of Proc) to work with Apache. The question is how can I make it

Re: Re: Apache/Tomcat Collaboration

2001-09-30 Thread Justin Erenkrantz
On Mon, Oct 01, 2001 at 12:41:10AM -, Shailesh S. Gokhale wrote: *** Tomcat can be used as either a stand-alone container (mainly for development and debugging) or as an add-on to an existing web server s are supported). This means that whenever you are deploying Tomcat you will have to

Re: [J-T-C] Apache 2.0 code review required

2001-09-14 Thread Justin Erenkrantz
On Sat, Sep 15, 2001 at 12:50:27AM +0200, GOMEZ Henri wrote: Hi to all, I've just commited updated code for Apache 1.3/2.0 I will need a serious code review on Apache 2.0 part and particulary the ws_read() which was grabbed from 1.3 and works (at least on Apache 2.0.24) but may be

Re: cvs commit: jakarta-tomcat-connectors/webapp/apache-2.0 mod_w ebapp.c

2001-09-06 Thread Justin Erenkrantz
On Fri, Sep 07, 2001 at 01:52:50AM +0100, Pier Fumagalli wrote: Since there is no official release of httpd-2.0, I am confident that nobody will actually care unless they're testing something... And by testing good practice says get the HEAD of CVS and try it out yourself if it doesn't work.

Re: cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docsssl-howto.xml

2001-08-31 Thread Justin Erenkrantz
On Fri, Aug 31, 2001 at 02:48:56PM -0600, Christopher Cain wrote: Oh well ... as an unrepentant terminal geek, I'm glad I took the time to learn it on the command line. Like most Linux commands, it has a pretty steep learning curve, but once you're familiar with it it's really quite powerful

Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/test Header.java HttpRequest.java

2001-08-27 Thread Justin Erenkrantz
On Tue, Aug 28, 2001 at 05:46:28AM -, [EMAIL PROTECTED] wrote: costin 01/08/27 22:46:28 Modified:src/share/org/apache/tomcat/util/test Header.java HttpRequest.java Log: Fixes in the test suite. We must send 1.0 requests, since we can't handle

Re: Tomcat 3.2.3 and getPathInfo

2001-08-26 Thread Justin Erenkrantz
On Sun, Aug 26, 2001 at 10:24:30PM -0700, Jason Hunter wrote: So what does the Apache Web Server do for PATH_INFO on a request to http://foo.com/cgi-bin/somecgi/http://extra.com? Ask for /index.html/http://extra.com with httpd-2.0, it strips out the second /. (gdb) print r-path_info $5 =

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardServer.java

2001-08-21 Thread Justin Erenkrantz
On Tue, Aug 21, 2001 at 06:51:52PM -, [EMAIL PROTECTED] wrote: craigmcc01/08/21 11:51:52 Modified:catalina/src/share/org/apache/catalina/core StandardServer.java Log: Fix for a DoS attack against the shutdown port, that could cause an out of

Re: Patch to bug #345 complete ?

2001-08-20 Thread Justin Erenkrantz
On Mon, Aug 20, 2001 at 09:18:53AM -0700, Henry Yeh wrote: I have noticed that after applying the patch the date is now included in the tomcat HTTP response header, but it still does not send back not modified 304 if the file requested hasn't been modified since the date specificed by the

Re: Patch to bug #345 complete ?

2001-08-20 Thread Justin Erenkrantz
On Mon, Aug 20, 2001 at 10:24:01AM -0700, Henry Yeh wrote: yes. I analyzed the HTTP header that's being sent and received by the browser. If-Modified-Since messages are sent to tomcat, and we are dealing with static files here (javascript and images). So is tomcat doesn't have the '304

Re: Patch to bug #345 complete ?

2001-08-20 Thread Justin Erenkrantz
On Mon, Aug 20, 2001 at 10:54:43AM -0700, Craig R. McClanahan wrote: I'm not sure I would make quite so blanket a statement as that. If the servlet itself understands that the content it produces changes rarely, it can improve performance by respecting If-Modified-Since values. To make this

Re: project goals

2001-08-19 Thread Justin Erenkrantz
On Sun, Aug 19, 2001 at 11:16:52AM -0700, Mark Castillo wrote: Hi all, Ok. After reading through some of the sources some questions came to mind. What are some of the specific goals of the project regarding robustness, performance, and security? At what point can we say that it is robust

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-15 Thread Justin Erenkrantz
On Wed, Aug 15, 2001 at 08:56:45AM -0400, Keith Wannamaker wrote: I am concerned that the loss of original escaping will break somebody. For instance: As Costin pointed out, the escaping of a URI does not change its semantics - they should be treated as identical by anyone who follows the URI

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread Justin Erenkrantz
On Tue, Aug 14, 2001 at 06:13:24PM -0700, David Rees wrote: --- mod_jk.c.orig Tue Aug 14 17:58:21 2001 +++ mod_jk.cTue Aug 14 18:04:58 2001 @@ -358,7 +358,7 @@ s-method = (char *)r-method; s-content_length = get_content_length(r); s-query_string = r-args; -

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread Justin Erenkrantz
On Tue, Aug 14, 2001 at 10:20:26PM -0400, Keith Wannamaker wrote: Hi David, Unfortunately there are people who were breaking because we didn't follow the spec. The better way to fix it is to create an inverse function for ap_parse_uri(request_rec *r, const char *uri) [http_protocol.c]

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread Justin Erenkrantz
On Tue, Aug 14, 2001 at 07:25:32PM -0700, David Rees wrote: On Tue, Aug 14, 2001 at 10:20:26PM -0400, Keith Wannamaker wrote: Unfortunately there are people who were breaking because we didn't follow the spec. The better way to fix it is to create an inverse function for

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread Justin Erenkrantz
On Wed, Aug 15, 2001 at 03:41:30AM +0100, Pier P. Fumagalli wrote: Justin Erenkrantz at [EMAIL PROTECTED] wrote: I wonder how Pier is addressing this in mod_webapp. I'll have to look. -- justin Easy as 1.2.3... WARP has a concept of URI and QUERY STRING... Very separate things

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread Justin Erenkrantz
On Tue, Aug 14, 2001 at 08:12:31PM -0700, [EMAIL PROTECTED] wrote: On Tue, 14 Aug 2001, Justin Erenkrantz wrote: Which, of course, is the right solution. Is it ? Re-escaping the URI will most likely generate something very different from the original, it's not symetrical. Getting a re

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread Justin Erenkrantz
On Tue, Aug 14, 2001 at 11:13:34PM -0400, Keith Wannamaker wrote: Costin's right.. seems like the problem encountered was that there was no way to recreate the encoding (or lack thereof) on the original uri. So the kludge/solution was to use the unparsed uri and chop off the query string.

Re: [Fwd: GTest in watchdog fails with Apache...]

2001-08-06 Thread Justin Erenkrantz
On Mon, Aug 06, 2001 at 05:25:03PM +0100, Pier P. Fumagalli wrote: Justin Erenkrantz at [EMAIL PROTECTED] wrote: On Mon, Aug 06, 2001 at 11:17:18AM +0200, jean-frederic clere wrote: I have tested it with 1.3.20 it behaves the same way. This is correct behavior on httpd's part

Re: Problems Compiling mod_webapp and APR on Solaris

2001-07-25 Thread Justin Erenkrantz
[ CCing dev@apr ] On Wed, Jul 25, 2001 at 03:56:58PM +0100, Pier P. Fumagalli wrote: Klaus Sonnenleiter at [EMAIL PROTECTED] wrote: Has anybody successfully compiled mod_webapp and/or the APR library on Solaris? I was able to compile everything without any trouble on a RedHat 7.1

Re: mod_webapp

2001-07-18 Thread Justin Erenkrantz
On Wed, Jul 18, 2001 at 05:28:25PM +0200, jean-frederic clere wrote: The CVS I have does not compile because apr_socket_create()... It misses the inherit parameter! APR has added it to the apr_socket_create(). Should I fix it or just tell we need a tagged APR (like APACHE_2_0_20). I think it

Re: mod_webapp

2001-07-18 Thread Justin Erenkrantz
On Wed, Jul 18, 2001 at 04:43:57PM +0100, Pier P. Fumagalli wrote: I have an old pre-sms version of APR I'm using, and it seems it's working on most platforms as-is... I might ask the APR guys to tag it with MOD_WEBAPP_1_0, or redistribute it in a nice tarball... Ha! -- justin

Re: mod_webapp

2001-07-18 Thread Justin Erenkrantz
On Wed, Jul 18, 2001 at 06:29:31PM +0200, jean-frederic clere wrote: I would advise to use a tagged version of APR in mod_webapp. Using the lastest one is/was not a good idea. I am using the APR tagged APACHE_2_0_20 for testing mod_webapp and it compiles Ok at least on 2 of test plateforms

Re: FW: latest cvs checkout test

2001-07-16 Thread Justin Erenkrantz
On Mon, Jul 16, 2001 at 06:34:48PM +0100, Pier P. Fumagalli wrote: I just tried it on Nagoya, and it does the same for me... Do someone has _ANY_ clue of WTF is going on Yeah, I've seen this before (Solaris, too). I had to add -lgcc. Don't ask me why the linker didn't pick up on that

Re: [PRE-PROPOSAL] jakarta-tomcat-doc sub-project : WAS: [TomcatDocumentation Redactors To Hire]

2001-07-03 Thread Justin Erenkrantz
On Mon, Jul 02, 2001 at 07:38:55PM -0700, Si Ly wrote: I submitted a very simple patch last week, and I haven't heard from anyone about it. It seems to me that outsiders (non-committers) can't get anything into CVS because the committers are not looking at the patches, for whatever reasons.

Re: problem with mod_webapp

2001-07-02 Thread Justin Erenkrantz
On Mon, Jul 02, 2001 at 10:29:39AM +0200, GOMEZ Henri wrote: APR will be the future, but it still in changing state. Do you want to works on a moving API ? We need a release and binary builds for majors OS When I have commit access to APR, yeah, I do. =) (That change to the

Re: problem with mod_webapp

2001-07-02 Thread Justin Erenkrantz
On Mon, Jul 02, 2001 at 06:09:44PM +0200, GOMEZ Henri wrote: Realistically though, APR is fairly stable API-wise. There *are* going to be some minor changes and tweaks along the way. But, they should all be for the better (like the util_date migration). I'm confident that APR is stable,

Re: problem with mod_webapp

2001-07-01 Thread Justin Erenkrantz
On Sun, Jul 01, 2001 at 04:30:55PM -0400, Donald Ball wrote: so is there still interest in a patch for the mod_webapp docs or has focus been shifted over to mod_jk? I'd like to see a patch, but that's me. =) Pier probably can tell you what he's doing with mod_webapp. I'm not a fan of

Re: how can i be a developer for the tomcat project..?

2001-06-30 Thread Justin Erenkrantz
On Sat, Jun 30, 2001 at 11:13:24PM +0100, hiten pandya wrote: hi everyone... hope everyones is fine, i have downloaded the latest copy of the tomcat server from the cvs repository, Please see: http://jakarta.apache.org/site/getinvolved.html http://jakarta.apache.org/site/source.html

Re: problem with mod_webapp

2001-06-29 Thread Justin Erenkrantz
On Fri, Jun 29, 2001 at 06:38:34PM -0700, [EMAIL PROTECTED] wrote: Please don't take this personally - I put some (free) time into this, and if I don't like your solution doesn't mean I consider you an idiot ( or that I'll not use the same solution, as it's considerably easier to implement

Re: problem with mod_webapp

2001-06-28 Thread Justin Erenkrantz
You need to link against MM (static) to your compilation. See apr/shmem/unix/mm/.libs/libmm.a. mod_webapp should be taking advantage of APRVARS (which has this information). It doesn't seem to be doing so. -- justin On Thu, Jun 28, 2001 at 04:26:10PM -0400, Donald Ball wrote: On Thu, 28

Re: problem with mod_webapp

2001-06-28 Thread Justin Erenkrantz
On Thu, Jun 28, 2001 at 04:52:01PM -0400, Donald Ball wrote: On Thu, 28 Jun 2001, Justin Erenkrantz wrote: You need to link against MM (static) to your compilation. See apr/shmem/unix/mm/.libs/libmm.a. mod_webapp should be taking advantage of APRVARS (which has this information

Re: problem with mod_webapp

2001-06-28 Thread Justin Erenkrantz
On Thu, Jun 28, 2001 at 05:09:31PM -0400, Donald Ball wrote: strange, libapr seems to include libmm, but i went ahead and built and installed libmm seperately in /usr/local/lib. okay, geez, now i get this error: It includes it, but mod_webapp doesn't link it. It seems that Pier is whipping

Re: problem with mod_webapp

2001-06-28 Thread Justin Erenkrantz
On Fri, Jun 29, 2001 at 02:31:50AM +0100, Pier P. Fumagalli wrote: Pier P. Fumagalli at [EMAIL PROTECTED] wrote: Justin Erenkrantz at [EMAIL PROTECTED] wrote: On Thu, Jun 28, 2001 at 05:09:31PM -0400, Donald Ball wrote: strange, libapr seems to include libmm, but i went ahead

Re: problem with mod_webapp (fwd)

2001-06-28 Thread Justin Erenkrantz
On Thu, Jun 28, 2001 at 10:07:57PM -0400, Donald Ball wrote: hate to be plaintive, but i'd really appreciate any suggestions y'all would have to offer on this. so close, and yet... As Pier said, just add ServerName. Be nice if you took all of this info and submitted a patch for the docs. I'd

Re: problem with mod_webapp

2001-06-28 Thread Justin Erenkrantz
On Fri, Jun 29, 2001 at 03:03:47AM +0100, Pier P. Fumagalli wrote: Justin Erenkrantz at [EMAIL PROTECTED] wrote: Yup, that's what httpd-2.0 does. Just require them to slap the apr sources in srclib (or something like that). We don't have to stick it into the CVS, but we can have

Re: [jtc] tabs policy??

2001-06-24 Thread Justin Erenkrantz
On Sun, Jun 24, 2001 at 08:52:03AM -0500, kevin seguin wrote: GOMEZ Henri wrote: I'm using tab = 4 so +1 there. it's important to make the distinction between indent level and number of spaces per tab -- they are totally different. i'm for 4 space indent level, tabs set to 8 spaces

Re: [jtc] tabs policy??

2001-06-22 Thread Justin Erenkrantz
On Fri, Jun 22, 2001 at 07:17:37PM -0500, kevin seguin wrote: so, is there a tabs policy in jakarta? like the number of spaces per tab (4 vs. 8), of no tabs in source code? i ask because i just got the latest jtc source, and when i open up some of the files in emacs (in which i have tab

Re: [j-t-c] OS poll = [j-t-c] webserver poll

2001-06-14 Thread Justin Erenkrantz
On Thu, Jun 14, 2001 at 09:39:58AM +0200, jean-frederic clere wrote: I made a first try some months ago and get it started on a non-threaded machine, by adding #define APACHE20 but the code has evolved a lot from that time. Should I try again in the today code? If you've got time. You might

Re: [j-t-c] OS poll = [j-t-c] webserver poll

2001-06-14 Thread Justin Erenkrantz
On Thu, Jun 14, 2001 at 10:28:47AM +0200, GOMEZ Henri wrote: mod_jk support Apache 2.0 And TC 4.0 as preliminary support for ajp13 used in mod_jk. Could you take a look at it ? Okay, what's the difference between mod_webapp and mod_jk? I thought that mod_webapp was the preferred TC 4.0

Re: [j-t-c] OS poll = [j-t-c] webserver poll

2001-06-13 Thread Justin Erenkrantz
On Wed, Jun 13, 2001 at 10:57:16AM +0200, GOMEZ Henri wrote: Now which webservers are you using : - Apache 1.3 (Apache, Apache/SSL or Apache-mod_ssl) - Apache 2.0 - Domino - IIS 4/5/2000 - JNI - Netscape/IPlanet This quick poll will help us know on which direction must be

Re: ICAP servlet classes (was: Tomcat Architecture)

2001-06-13 Thread Justin Erenkrantz
On Wed, Jun 13, 2001 at 08:06:42PM +0200, Fabian Loschek wrote: Hello, I would like Tomcat to serve requests for a new Internet Draft Protocol named ICAP. The intension is to develop HTTP like ICAP servlet base classes to allow writing ICAP applications. Can someone give me

Re: ICAP servlet classes (was: Tomcat Architecture)

2001-06-13 Thread Justin Erenkrantz
On Wed, Jun 13, 2001 at 02:34:17PM -0400, Salim Virani wrote: Hi Justin, I faced a similar problem. I figured I could write my own server/servlet API .. which is what I did. Just curious was your implementation in Java ??? And are you working for a company or this is some school

Re: RedHat 7.1 and MOD_WEBAPP anyone?

2001-06-11 Thread Justin Erenkrantz
[ CCed to dev@apr ] On Mon, Jun 11, 2001 at 02:32:25PM -0700, Craig R. McClanahan wrote: (4) Tested configuration (/etc/rc.d/init.d/apache configtest) and got the following error message: Syntax error on line 1027 of /usr/local/apache/conf/httpd.conf: Cannot load