[mapserver-users] Setting up Apache as DSO & CGI
Ken Kyler
ken at kyler.com
Thu Aug 29 04:06:26 PDT 2002
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