Re: [mapserver-users] MapServer,Mod_python and tilecache
You are in the right, I have change this line and now apache is start again Directory C:\ms4w\Apache\htdocs\tilecache **it's important to not forget to putout \ after \tilecache!** saltalungo wrote: thanx, but if I change that line, the Apache doesn't restart. Shawn Gervais wrote: on the httpd.conf of apache i have tthose lines: Directory C:\ms4w\Apache\htdocs\tilecache\tilecache I think this path is incorrect, it should likely read: Directory C:\ms4w\Apache\htdocs\tilecache -S ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- View this message in context: http://n2.nabble.com/MapServer%2CMod_python-and-tilecache-tp3025358p3029309.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapServer,Mod_python and tilecache
Hi, I'm trying to configure the tilecache on mapserver with mod_python. the components that I have are: Apache 2.2.11 Mod_python 3.3.1 python 2.5 tilecache 2.10 I have a problem displaying the data that are insert inside the file tilecache.cfg when i send the request http://localhost/tilecache/tilecache.py/1.0.0/basic i receive a Not Found The requested URL /tilecache/tilecache.py/1.0.0/basic was not found on this server. Is the problem that it can't read the tilecache.cfg? on the httpd.conf of apache i have tthose lines: Directory C:\ms4w\Apache\htdocs\tilecache\tilecache AddHandler python-program .py PythonHandler TileCache.Service PythonPath ['C:/ms4w/Apache/htdocs/tilecache/'] + sys.path PythonOption TileCacheConfig C:/ms4w/Apache/htdocs/tilecache/tilecache.cfg PythonDebug On /Directory Anyone have a idea on where i miss the right? thanx saltalungo -- View this message in context: http://n2.nabble.com/MapServer%2CMod_python-and-tilecache-tp3025358p3025358.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer,Mod_python and tilecache
on the httpd.conf of apache i have tthose lines: Directory C:\ms4w\Apache\htdocs\tilecache\tilecache I think this path is incorrect, it should likely read: Directory C:\ms4w\Apache\htdocs\tilecache -S ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer,Mod_python and tilecache
thanx, but if I change that line, the Apache doesn't restart. Shawn Gervais wrote: on the httpd.conf of apache i have tthose lines: Directory C:\ms4w\Apache\htdocs\tilecache\tilecache I think this path is incorrect, it should likely read: Directory C:\ms4w\Apache\htdocs\tilecache -S ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- View this message in context: http://n2.nabble.com/MapServer%2CMod_python-and-tilecache-tp3025358p3025963.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer,Mod_python and tilecache
Hi, Tilecache user-list would have been a more appropriate list to post this problem to, but I can give you a couple of clues. As tilecache readme says (http://tilecache.org/docs/README), you should try : http://example.com/yourdir/tilecache.cgi/1.0.0/basic/0/0/0.png before any tile of the tileset has been drawn, its root directory (basic here) has not been created yet. That's why you get 404 I think. Best regards, Guillaume saltalungo a écrit : Hi, I'm trying to configure the tilecache on mapserver with mod_python. the components that I have are: Apache 2.2.11 Mod_python 3.3.1 python 2.5 tilecache 2.10 I have a problem displaying the data that are insert inside the file tilecache.cfg when i send the request http://localhost/tilecache/tilecache.py/1.0.0/basic i receive a Not Found The requested URL /tilecache/tilecache.py/1.0.0/basic was not found on this server. Is the problem that it can't read the tilecache.cfg? on the httpd.conf of apache i have tthose lines: Directory C:\ms4w\Apache\htdocs\tilecache\tilecache AddHandler python-program .py PythonHandler TileCache.Service PythonPath ['C:/ms4w/Apache/htdocs/tilecache/'] + sys.path PythonOption TileCacheConfig C:/ms4w/Apache/htdocs/tilecache/tilecache.cfg PythonDebug On /Directory Anyone have a idea on where i miss the right? thanx saltalungo ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users