cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Potz <reinhard_po...@gmx.net>
Subject AW: Cocoon + UserAgent Strings
Date Fri, 08 Mar 2002 08:08:26 GMT
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 <map:generate type="html"
 > 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


Mime
View raw message