[Cartoweb-users] pdf export: pb url (localhost)
Alexandre Saunier
alexandre.saunier at camptocamp.com
Tue Jan 3 09:51:18 EST 2006
Oops!
You're right Manu: there's a typo in the manual!!
In http://cartoweb.org/doc/cw3.1/xhtml/user.config.html#user.config.client
one should read:
"o cartoclientBaseUrl = "url": base URL of the cartoclient-
o cartoserverBaseUrl = "url": base URL of the cartoserver (i.e. path
containing the cartoserver.wsdl.php file."
instead of "cartoclientUrl"/"cartoserverUrl".
I've just commited a correction in the CVS version.
Thanks!
AS
Emmanuel Belo wrote:
> OK, it works fine with this line in client.ini:
>
> cartoclientBaseUrl = "http://zagoriano/cartoweb3/htdocs/"
>
> thanks a lot,
>
> Emmanuel
> p.s. the definition of cartoclientBaseUrl doesn't appear in the
> documentation 3.1
>
> Emmanuel Belo wrote:
>
>> Hi Alex,
>>
>> I've added this line to my client.ini
>>
>> webWritablePath = c:\wamp\www\cartoweb3\htdocs\generated\
>>
>> with pdfExport.ini
>>
>> general.output = redirection
>>
>>
>> The browser get this url:
>> http://zagoriano/cartoweb3/htdocs/prisma.php?mode=pdf
>>
>> and then is redirected to:
>> http://localhost/cartoweb3/htdocs/generated/pdf/prisma-03Jan2006-1423.pdf
>>
>> and displays an error 404.
>>
>> best regards,
>>
>> Emmanuel
>>
>>
>> Alexandre Saunier wrote:
>>
>>> Using a local filepath is better. If you are using WAMP:
>>> webWritablePath = c:\wamp\www\cartoweb3\htdocs\generated\
>>>
>>> Alexandre Saunier wrote:
>>>
>>>> Hello Manu,
>>>>
>>>> try adding the following line to your client.ini:
>>>> webWritablePath = http://zagoriano/cartoweb3/htdocs/generated/
>>>>
>>>> If it still does not work, what is the error message you get?
>>>>
>>>> AS
>>>>
>>>> Emmanuel Belo wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> i'm trying to set up the pdf export. It works great on localhost,
>>>>> but doesn't work remote. The export calls a localhost url.
>>>>>
>>>>> I have added theses two lines in client.ini:
>>>>>
>>>>> cartoclientUrl = http://zagoriano/cartoweb3/htdocs/
>>>>> cartoserverUrl = http://zagoriano/cartoweb3/htdocs/
>>>>>
>>>>> but it doesn't help.
>>>>>
>>>>> Where should i configurate Cartoweb so that the pdf-files are
>>>>> available for web users?
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Emmanuel Belo
>>>>> p.s. happy new year! ;-)
>>>>>
>>>>> _______________________________________________
>>>>> Cartoweb-users mailing list
>>>>> Cartoweb-users at lists.maptools.org
>>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Cartoweb-users mailing list
>>>> Cartoweb-users at lists.maptools.org
>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>>>
>>>
>>>
More information about the Cartoweb-users
mailing list