[mapserver-users] mapcache - problems on install
thomas bonfort
thomas.bonfort at gmail.com
Thu May 10 03:46:18 PDT 2012
Sorry, pressed send too fast...
you must use
<IfModule mapcache_module>
<Directory /path/to/directory>
Order Allow,Deny
Allow from all
</Directory>
MapCacheAlias /mapcache "/path/to/directory/mapcache.xml"
</IfModule>
and not
<Location "/cgi-bin/">
SetEnv MAPCACHE_CONFIG_FILE
"/home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/mapcache.xml"
</Location>
On Thu, May 10, 2012 at 12:43 PM, thomas bonfort
<thomas.bonfort at gmail.com> wrote:
> the instructions for running mapcache as an apache module are on the
> page you linked, more precisely:
> http://mapserver.org/trunk/mapcache/install.html#apache-module-specific-instructions
>
> --
> thomas
>
> On Thu, May 10, 2012 at 12:33 PM, Helen San Segundo Navazo
> <hsansegundo at meteo.cat> wrote:
>> Hi,
>> I'm new using mapcache. I've tried to install it following the instructions
>> on http://mapserver.org/trunk/mapcache/install.html.
>>
>> First
>>
>> $./configure
>> $make
>> $sudo make install
>>
>>
>> and after the apache module
>>
>> $sudo make install-module
>> $sudo ldconfig
>>
>>
>> On my httpd.conf I've added
>>
>> <Location "/cgi-bin/">
>> SetEnv MAPCACHE_CONFIG_FILE
>> "/home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/mapcache.xml"
>> </Location>
>>
>> when I try to invoque mapcache in the apache log there is this error:
>>
>> /usr/lib/cgi-bin/mapcache: line 202: cd:
>> /home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/cgi: Not a
>> directory
>> gcc: mapcache.c: No such file or directory
>> gcc: ../lib/.libs/libmapcache.so: No such file or directoryn[Thu May 10
>> 11:57:23 2012] [error] [client 127.0.0.1] Premature end of script headers:
>> mapcache
>>
>> the directory exists and has permisions to access
>>
>> Somebody knows how to solve it?
>> Thanks in advance,
>> Helen
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list