cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2004-03-17 Thread hgomez
hgomez 2004/03/17 09:07:56 Modified:jk/native2/common jk_uriMap.c Log: Remove unused vars (thanks gcc -wall) Revision ChangesPath 1.70 +1 -7 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2004-03-12 Thread hgomez
hgomez 2004/03/12 03:59:32 Modified:jk/native2/common jk_uriMap.c Log: Avoid overflow bug when virtual host is more than 1024 chars. Provided by Rafal Maczewski Revision ChangesPath 1.69 +28 -8 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2003-01-03 Thread jfclere
jfclere 2003/01/03 08:35:45 Modified:jk/native2/common jk_uriMap.c Log: Otherwise it cores (on Solaris for example) in vsnprintf when not using APR. Revision ChangesPath 1.59 +6 -3 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-11-15 Thread mturk
mturk 2002/11/15 00:10:20 Modified:jk/native2/common jk_uriMap.c Log: Restore the uri if no context found. XXX: I dont't like this jsessionid rewriting or uri made on const char. Can we use some temp pool or provide the buffer to the mapUri call. Revision ChangesPath

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c jk_uriEnv.c

2002-10-22 Thread mturk
mturk 2002/10/22 03:11:44 Modified:jk/native2/common jk_uriMap.c jk_uriEnv.c Log: Fix the stupid MSVC CR+LF line endings. Revision ChangesPath 1.57 +15 -15jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-10-15 Thread mturk
mturk 2002/10/15 05:18:35 Modified:jk/native2/common jk_uriMap.c Log: Add host map cache. There is no need to map the host when already evaluated. On first didtinctive hostMap the found hostEnv is stored to the cache. Later it is accesed from the cache skipping lengthy

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-10-15 Thread mturk
mturk 2002/10/15 05:23:23 Modified:jk/native2/common jk_uriMap.c Log: Ooops, the wrong repository (forgot the key) Revision ChangesPath 1.54 +1 -0 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-10-15 Thread mturk
mturk 2002/10/15 05:27:56 Modified:jk/native2/common jk_uriMap.c Log: Not my day... (I'll need to clean some things localy ;) Revision ChangesPath 1.55 +2 -2 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-10-13 Thread mturk
mturk 2002/10/13 00:41:47 Modified:jk/native2/common jk_uriMap.c Log: Duplicate all global directives on each vhost that has inheritGlobals set. Directives are created using createBean only if not found. Beside directives, the webapps are duplicated to. Revision Changes

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-10-09 Thread mturk
mturk 2002/10/09 10:08:10 Modified:jk/native2/common jk_uriMap.c Log: Fix the hostMap checking hostname:port then hostname Revision ChangesPath 1.51 +21 -14jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-10-02 Thread mturk
mturk 2002/10/02 02:49:17 Modified:jk/native2/common jk_uriMap.c Log: 1. Correct webapps for standalone context statements inside any uri 2. Add the contextMap (not sure if that is the correct name) The contextMap purpose is to map the uri with the prefix without the

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-10-02 Thread mturk
mturk 2002/10/02 03:28:36 Modified:jk/native2/common jk_uriMap.c Log: When creating 'free' webapps, put them to the correct vhost changing to the real name composed of the host[:port]/context. Revision ChangesPath 1.47 +12 -5

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-10-02 Thread mturk
mturk 2002/10/02 03:58:06 Modified:jk/native2/common jk_uriMap.c Log: Fix the wrong uri association with the webaps. If we specify the context in the uri, try the exactMap first cause webapp can have a name that is subset of some larger context, so that larger one would be

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c jk_uriEnv.c

2002-09-26 Thread mturk
mturk 2002/09/26 05:29:17 Modified:jk/native2/common jk_uriMap.c jk_uriEnv.c Log: Fix the prefixMap leaving the trailing slash with the prefix. Revision ChangesPath 1.45 +2 -2 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-09-25 Thread mturk
mturk 2002/09/25 07:42:51 Modified:jk/native2/common jk_uriMap.c Log: Change the order of mapping if the exact map is not found. Check the aliases prior to the *:port. Revision ChangesPath 1.44 +3 -3 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-09-24 Thread mturk
mturk 2002/09/24 09:54:31 Modified:jk/native2/common jk_uriMap.c Log: Create the missing vhosts. Fix the hostname resolution already containing colon and port. Revision ChangesPath 1.42 +22 -6 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-09-24 Thread mturk
mturk 2002/09/24 10:07:14 Modified:jk/native2/common jk_uriMap.c Log: Create the missing vhosts. Fix the hostname resolution already containing colon and port. Revision ChangesPath 1.43 +13 -14jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-09-23 Thread mturk
mturk 2002/09/23 10:38:04 Modified:jk/native2/common jk_uriMap.c Log: Rewrite the uriMap using hostname:port scheme. The default host is now named *. Revision ChangesPath 1.41 +219 -351 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index:

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-09-22 Thread mturk
mturk 2002/09/22 02:58:16 Modified:jk/native2/common jk_uriMap.c Log: Each host has to be defined in the workers2.properties, so if the host is provided in the request but non found in the uriMap return NULL instead using default host (uri:/). Further more I reverted the

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-09-01 Thread nacho
nacho 2002/09/01 13:32:07 Modified:jk/native2/common jk_uriMap.c Log: Filter prefix matches to allow only exact matches with an optional path_info or query string at end. Fixes Bug#12141 Revision ChangesPath 1.38 +15 -7

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-08-15 Thread mturk
mturk 2002/08/15 02:25:18 Modified:jk/native2/common jk_uriMap.c Log: Check each mapping with the reverse flag and desired mode. Mode can be either normal or reverse. Revision ChangesPath 1.36 +32 -14jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-07-08 Thread mturk
mturk 2002/07/08 06:35:53 Modified:jk/native2/common jk_uriMap.c Log: no message Revision ChangesPath 1.35 +18 -18jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-05-03 Thread costin
costin 02/05/03 10:45:06 Modified:jk/native2/common jk_uriMap.c Log: Another fix in uriMap - make sure each host has a default context. Deja-vu, check the commits of about 2 years ago :-) Still missing - add /servlet/*, *.jsp and WEB-INF mappings automatically.

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c jk_worker_lb.c

2002-05-03 Thread costin
costin 02/05/03 11:23:26 Modified:jk/native2/common jk_uriMap.c jk_worker_lb.c Log: Ops :-) Disabled debugging on uriMap ( can be enabled by setting debug property ) Revision ChangesPath 1.30 +1 -1 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-04-30 Thread costin
costin 02/04/29 23:49:21 Modified:jk/native2/common jk_uriMap.c Log: That's the big one for today. Again, the alghoritm is the one from java and from the spec, without any changes. Virtual hosts are mapped corectly, contexts are also mapped corectly. Still not

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-04-12 Thread costin
costin 02/04/12 16:09:50 Modified:jk/native2/common jk_uriMap.c Log: Don't init invalid uri maps. Revision ChangesPath 1.23 +8 -3 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-04-11 Thread costin
costin 02/04/11 17:04:27 Modified:jk/native2/common jk_uriMap.c Log: Config simplification: if no worker is specified, use the default worker. Revision ChangesPath 1.21 +10 -2 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c Index: jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c jk_workerEnv.c

2002-03-23 Thread costin
costin 02/03/23 09:27:13 Modified:jk/native2/common jk_uriMap.c jk_workerEnv.c Log: - fix a NPE in uriMap - if no config file was specified in httpd.conf ( or whatever server config file is used ), default to conf/jk2.properties. That means you'll be able to set up

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-03-18 Thread costin
costin 02/03/18 10:45:06 Modified:jk/native2/common jk_uriMap.c Log: Update to the new config. It no longer creates uriEnv objects ( the config does that ), it'll just register and map Revision ChangesPath 1.18 +57 -96

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-03-01 Thread costin
costin 02/03/01 22:12:05 Modified:jk/native2/common jk_uriMap.c Log: setProperty(), initial code to support setting various properties per uri. Need to finish it up and make sure the /vhost/path format that Nacho mentioned works in jk2 the same as before. Revision

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2002-02-28 Thread costin
costin 02/02/28 15:07:01 Modified:jk/native2/common jk_uriMap.c Log: - add createUriEnv. It'll be used from mod_jk to register a Location, that replace the duplicated code that was used there. Now all maps are registered with uriMap, including the ones in Location, the only

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2001-12-06 Thread costin
costin 01/12/06 15:04:33 Modified:jk/native2/common jk_uriMap.c Log: Updates, start updating to use jk_webapp. Note that jk_webapp should drasticaly improve the scalability - on a site with many webapps the performance of a global uriMap becomes problematic. jk_webapp

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2001-12-04 Thread costin
costin 01/12/04 10:39:46 Modified:jk/native2/common jk_uriMap.c Log: Few fixes, now it seems to work. Merged code from ajp14, all uri management should happen here. Revision ChangesPath 1.4 +62 -63jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2001-12-01 Thread costin
costin 01/12/01 14:34:38 Added: jk/native2/common jk_uriMap.c Log: The old jk_uri_map, with a lot of changes in code organization. It seems we had a number of bugs ( 'best_match' was completely broken, plus some other issues ). The current code still seems slightly