best regards,
thomas
> --
> You received this message because you are subscribed to the Google Groups
> "mod-geocache" group.
> To post to this group, send email to mod-ge...@googlegroups.com.
> To unsubscribe from this group, send email to
> mod-geocache...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mod-geocache?hl=en.
>
have you modified the geocache.xml file in some way?
what are the relevant lines in your apache configuration file?
any chance you can point me to the server where this is hosted
(offlist if you prefer)?
--
thomas
> have you modified the geocache.xml file in some way?
I'm using the included xml file for now.
> what are the relevant lines in your apache configuration file?
LoadModule geocache_module /usr/lib/apache2/modules/mod_geocache.so
<IfModule geocache_module>
<Location /geocache>
SetHandler geocache
GeoCacheConfigFile "/home/ubuntu/mod_geocache/geocache.xml"
</Location>
</IfModule>
Almost the same as the install directions, other than the location of
mod_geocache.so.
--Marc
--
thomas
when requesting http://server/geocache/demo, the pathinfo should be "demo".
I'd be interested to know what you get for that when the error occurs.
regards,
thomas
Marc,
the trunk version now prints the pathinfo that mod-geocache received
in the error message. you could use that to debug your problem.when requesting http://server/geocache/demo, the pathinfo should be "demo".
I'd be interested to know what you get for that when the error occurs.
If I comment out my wsgi stuff for Django, then /geocache/demo works.
-Marc
On Fri, Apr 29, 2011 at 21:08, Marc Pfister <marc.p...@gmail.com> wrote:
> On Friday, April 29, 2011 2:53:16 AM UTC-7, thomas bonfort wrote:
>>
>> Marc,
>> the trunk version now prints the pathinfo that mod-geocache received
>> in the error message. you could use that to debug your problem.
>>
>> when requesting http://server/geocache/demo, the pathinfo should be
>> "demo".
>>
>> I'd be interested to know what you get for that when the error occurs.
>
> I tried to install from trunk and I got this error:
>
> service_demo.c: In function ‘_create_demo_wms’:
> service_demo.c:455: error: ‘demo_layer_singletile’ undeclared (first use in
> this function)
> service_demo.c:455: error: (Each undeclared identifier is reported only once
> service_demo.c:455: error: for each function it appears in.)
>
> because I'm not using Cairo. So I enabled it anyway and after setting the
> "full_wms" to ERROR instead of ASSEMBLE I got mod_geocache to start up.
I just fixed that, it should build without the need for cairo now.
>
> Going to:
>
> http://my.server/geocache/demo gives the following error:
>
> error: unknown service geocache/demo
>
> If I comment out my wsgi stuff for Django, then /geocache/demo works.
>
> -Marc
There's something subtle going on here, as the pathinfo is modified if
the virtualhost has no documentroot set, or if the wsgi handler is
activated.
I'm wondering if mod-geocache shouldn't be a bit more lenient, and
check for the last part of the pathinfo instead of the full pathinfo
to account for those cases. Please file a bug if you'd like me to add
that.
thanks for the report,
thomas