[Users] Print problem with POST
Espen Isaksen
espen.isaksen at gmail.com
Wed Dec 14 18:37:24 CET 2011
Hi again!
I found the problem and it had nothing to do with GeoExt. My problem
was a proxy I had set up in Apache. I had to set this proxy to AJP
instead like this:
ProxyPass /print ajp://localhost:8009/print-servlet-1.2-SNAPSHOT
Proxypass /print-servlet-1.2-SNAPSHOT http://www.turkompisen.no/print
Before I just had a regulare ProxyPass on http and that did not work.
Thanks anyway Ralph!
Espen
On Tue, Dec 13, 2011 at 10:04 PM, Ralph Dell <RDell at catawbacountync.gov> wrote:
> That is the one question on this list I can answer with certainty.
> Including Ext.Ajax Overrides
> http://geoext.org/lib/overrides/override-ext-ajax.html
> In you geoext build http://localhost/GeoExt-1.0/docs/builder/v1.0.html
> Will fix you problem
>
> Ralph Dell
>
> -----Original Message-----
> From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On
> Behalf Of Espen Isaksen
> Sent: Tuesday, December 13, 2011 1:12 PM
> To: users at geoext.org
> Subject: [Users] Print problem with POST
>
> Hei!
>
> I am having a problem with printing from GeoExt using POST. As long as
> I am aware of this should not be a proxy problem as many other have
> experienced.
>
> Everything runs fine when I run GET:
> http://www.turkompisen.no/beta/turkompisen_get/
>
> But fails when I run POST:
> http://www.turkompisen.no/beta/turkompisen_post/
>
> The reason it fails is because it tries to get the finished PDF on
> localhost instead of turkompisen.no(my domain). When running GET it
> fetches the PDF from turkompisen.no. Try the two examples above. The
> only change is this:
> method: "GET"
> in the printProvider.
>
> I get the specs for the print server with this script tag:
> <script type="text/javascript"
> src="http://www.turkompisen.no/print/pdf/info.json?var=printCapabilities
> &url=http://www.turkompisen.no/print/pdf"></script>
>
> I do not understand what makes the difference?
>
> Espen
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list