phtml apache2 config

joerg p superbla3000 at GMX.NET
Fri Sep 10 08:53:48 PDT 2004


Hello,

I am installing mapserver with php mapsrcipt and need to configure
apache2 to run with phtml as php cgi.

In the wiki I read how to configure apache but I don't know in which
apache2 config files I have to put:

Action phtml-script /cgi/php
 AddHandler phtml-script .phtml

AddType application/x-httpd-php .php .php4 .php3 .phtml

<Directory /var/www/html/mapscript/cgi>
      Options ExecCGI FollowSymLinks
 </Directory>

Thanks
Joerg



More information about the MapServer-users mailing list