Send modauthtkt-users mailing list submissions to modauthtkt-users@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/modauthtkt-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of modauthtkt-users digest..." Today's Topics: 1. Re: Archives not current? (Gavin Carr) ---------------------------------------------------------------------- Message: 1 Date: Thu, 16 Nov 2006 08:58:51 +1100 From: Gavin Carr <[EMAIL PROTECTED]> Subject: Re: [modauthtkt-users] Archives not current? To: modauthtkt-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Hi Eric, On Wed, Nov 15, 2006 at 02:04:41PM -0500, Eric Trager wrote: > I am trying to find a message from a couple of weeks ago where someone > attached a patch to allow mod_auth_tkt to work with Apache 2.2.x. > However, the archives for this list only seem to run up to September. > > http://sourceforge.net/mailarchive/forum.php?forum_id=45844 > > The mail-archive site shows the digests for more recent messages but > trying to reach those messages on Sourceforge fails. Is there a better > link to a more currently complete archive? Not that I'm aware of. I'll chase up with SF. > Would someone be kind enough to re-post the patch? Joost's patch is attached. Cheers, Gavin -------------- next part -------------- --- mod_auth_tkt-2.0.0rc1/src/mod_auth_tkt.c 2006-04-05 09:12:43.000000000 +0200 +++ mod_auth_tkt-2.0.0rc1.new/src/mod_auth_tkt.c 2006-10-30 17:25:54.000000000 +0100 @@ -1030,7 +1030,7 @@ int port; /* Get the scheme we use (http or https) */ - const char *scheme = ap_http_method(r); + const char *scheme = ap_http_scheme(r); /* Strip any auth_cookie_name arguments from the current args */ char *query = query_strip(r, conf->auth_cookie_name); @@ -1052,7 +1052,7 @@ ap_log_rerror(APLOG_MARK, APLOG_INFO, APR_SUCCESS, r, "TKT: could not find Host header, falling back to hostname/server port"); port = ap_get_server_port(r); - hostinfo = port == apr_uri_default_port_for_scheme(scheme) ? + hostinfo = port == apr_uri_port_of_scheme(scheme) ? apr_psprintf(r->pool, "%s", r->hostname) : apr_psprintf(r->pool, "%s:%d", r->hostname, port); } @@ -1153,7 +1153,7 @@ ap_get_module_config(r->per_dir_config, &auth_tkt_module); auth_tkt_serv_conf *sconf = ap_get_module_config(r->server->module_config, &auth_tkt_module); - const char *scheme = ap_http_method(r); + const char *scheme = ap_http_scheme(r); int guest = 0; int timeout; char *url = NULL; ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------ _______________________________________________ modauthtkt-users mailing list modauthtkt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/modauthtkt-users End of modauthtkt-users Digest, Vol 6, Issue 9 **********************************************