Hi every body,
we use http//localhost/ogcserver in my bowser, it did not return the hoped tile
but the content of the script like that.
#!/usr/bin/python2.5
#
# This file is part of Mapnik (c++ mapping toolkit)
#
# Copyright (C) 2006 Jean-Francois Doyon
#
# Mapnik is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# $Id: ogcserver 342 2006-10-17 17:26:35Z pavlenko $
from mapnik.ogcserver.cgiserver import Handler
from jon import fcgi
class OGCServerHandler(Handler):
configpath = '/etc/ogcserver.conf'
fcgi.Server({fcgi.FCGI_RESPONDER: OGCServerHandler}).run()
and this is the content of apache error_log
[Fri Nov 14 11:25:23 2008] [notice] Apache/2.2.9 (Unix) DAV/2 mod_python/3.3.1
Python/2.5.1 mod_wsgi/2.1-BRANCH configured -- resuming normal operations
[Fri Nov 14 11:33:30 2008] [notice] caught SIGTERM, shutting down
[Fri Nov 14 11:58:54 2008] [notice] SELinux policy enabled; httpd running as
context unconfined_u:system_r:httpd_t:s0
[Fri Nov 14 11:58:54 2008] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Fri Nov 14 11:58:54 2008] [warn] module python_module is already loaded,
skipping
[Fri Nov 14 11:58:54 2008] [notice] Digest: generating secret for digest
authentication ...
[Fri Nov 14 11:58:54 2008] [notice] Digest: done
[Fri Nov 14 11:58:54 2008] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Fri Nov 14 11:58:54 2008] [notice] mod_python: using mutex_directory /tmp
[Fri Nov 14 11:58:54 2008] [notice] Apache/2.2.9 (Unix) DAV/2 mod_python/3.3.1
Python/2.5.1 mod_wsgi/2.1-BRANCH configured -- resuming normal operations
[Fri Nov 14 11:59:12 2008] [error] [client 127.0.0.1] Directory index forbidden
by Options directive: /var/www/html/
[Fri Nov 14 11:59:15 2008] [error] [client 127.0.0.1] File does not exist:
/var/www/html/favicon.ico
Neuba Danho Fursy Rodelec
Université d'Abobo-Adjamé
01 BP 4403 Abidjan 01
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users