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:[EMAIL PROTECTED]]
 > Gesendet: Freitag, 08. Marz 2002 06:19
 > An: [EMAIL PROTECTED]
 > 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: [EMAIL PROTECTED]
 > For additional commands, email: [EMAIL PROTECTED]
 >


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to