[mapserver-users] Setting up Apache as DSO & CGI
Richard Greenwood
Rich at GreenwoodMap.com
Thu Aug 29 14:10:35 PDT 2002
You might check the article:
http://www.phpbuilder.com/columns/michael20020812.php3?page=1
Rich
At 07:06 AM 8/29/2002 -0400, you wrote:
>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
Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich at GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com
More information about the MapServer-users
mailing list