Mapserver rpm mandrake 10.1

blaise bpicinbono at WORLDONLINE.FR
Tue Mar 22 10:12:12 EST 2005


Hi Lluis, have you found out ?

Le mardi 22 Mars 2005 09:39, Lluís Garcia i Mestres a écrit :
> Hi, I've achieved to compile php and mapserver by myself but I get two
> erros:
> - I add the following lines to httpd.conf but apache doesn't reconize php.
> AddType application/x-httpd-php-cgi .php .php4 .php3 .phtml
> Action  application/x-httpd-php-cgi /cgi-bin/php
You have to restart apache for any httpd.conf change to be considered. On 
mandrake, it should be either the command:
#service httpd restart
or
#/etc/rc.d/init.d/httpd restart
According to your apache conf file, the php filename must be "php" and be in 
the /cgi-bin directory of your web server (should be /var/www/cgi-bin/ on 
mandrake). What are the execution rights for this file ?
Put a simple phpinfo.php page on your server and open it in your brower. At 
the begining, you should find this line :
Server API : CGI

> - On the other hand, I builded a map, just with mapserver, with
> different layers and the position looks ok. But when I click on the
> map using query or zoom function, it seems like mapserver send a point
> 2-3 cm upper from where i have clicked.
This is strange, there was a similar post a few days ago. Try to find it back 
on see if / how it has been solved. I would say troubles in your map EXTENT 
or SIZE ?
Blaise



More information about the mapserver-users mailing list