[mapserver-users] Setting up Apache as DSO & CGI

Korbai, Zoltan korbai.zoltan at axelero.hu
Thu Aug 29 10:22:18 EDT 2002


I am not a Linux Expert so maybe it is not the answer
what you want, but I think I had a similar problem.
The solution was: I changed Apache 1.3.24 to 1.3.26
and my CGI problem solved. (Mandrake Linux 8.2)

Zoltan

----- Original Message -----
From: "Ken Kyler" <ken at kyler.com>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, August 29, 2002 1:06 PM
Subject: [mapserver-users] Setting up Apache as DSO & CGI


> I know this isn't quite on topic, but I'm trying to setup Apache to use
both
> mod_php and the php CGI.  I've read
> http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI as well as
any
> other page I can find.
>
> FreeBSD 4.5-STABLE
> Apache 1.3.24
> PHP 4.2.2
>
> I can't get the CGI version to work.  I get 404 errors.  The following is
> from my test & development box
>
> <VirtualHost *>
>     ServerName dev.kyler.com
>     ServerAdmin webmaster at kyler.com
>     DocumentRoot /www/kyler.com/www
>     php_admin_value include_path
> .:/www/phplibsrc:/www/kyler.com/phplib:/www/kyler.com/include
>     php_admin_value auto_prepend_file /www/kyler.com/phplib/prepend.php3
>
> # for Mapserver
> ScriptAlias /cgi/ /www/kyler.com/cgi/
> Action phm-script /cgi/php
> AddHandler phm-script .phm
> <Directory /www/kyler.com/www/map/>
> Options ExecCGI FollowSymLinks
> </Directory>
>     <Directory /www/kyler.com/www/cgi/>
>        Options FollowSymLinks ExecCGI
>     </Directory>
> </VirtualHost>
>
> Any thoughts?
>
> Ken
>




More information about the mapserver-users mailing list