Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 95486 invoked by uid 500); 8 Mar 2002 08:10:22 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 95475 invoked from network); 8 Mar 2002 08:10:22 -0000 From: =?us-ascii?Q?Reinhard_Potz?= To: Subject: AW: Cocoon + UserAgent Strings Date: Fri, 8 Mar 2002 09:08:26 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <3C8849B3.1020506@collen.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Tony, Have a look at http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=101412181609134&w=2 I extented the HTMLGenerator and use the httpclient-library of jakarta. Using this library you can set the UserAgent in the http-header. I haven't had the time yet to complete it (see http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=101412719423893&w=2) and to send the diff to bugzilla. (planned for the next weeks). Reinhard > -----Ursprungliche Nachricht----- > Von: Tony Collen [mailto:tc@collen.org] > Gesendet: Freitag, 08. Marz 2002 06:19 > An: cocoon-dev@xml.apache.org > Betreff: Cocoon + UserAgent Strings > > > Hi all.. I posted this message to cocoon-users but it might be more > likely to be answered here... > > I'm playing around with Cocoon, and I'm using src="http://foo.bar" /> to generate some XHTML from a website. I'm > getting back a 403 Denied error from the server, and I've deduced that > Cocoon is being denied access to the URL based on the User-Agent string > that it sends. I did a little snooping and I came up with the following > info out of my wwwlogs: > > "GET / HTTP/1.1" 200 18919 "-" "Java1.3.1_01" > > Is there any way, short of digging through code, to change the > User-Agent string that Cocoon sends? If not, is there someone who knows > the Cocoon source well enough to make the User-Agent string something > that could be configured through, say, cocoon.xconf? > > Tony Collen > -============= > Web Programmer > NHGIS: National Historical Geographic Information System > http://www.nhgis.org > -============= > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org