phtml apache2 config
pram at PRAMCENTRAL.COM
Fri Sep 10 11:57:22 EDT 2004
If you are asking which config file to modify, you are looking for the httpd.conf file.
Try whereis httpd.conf or locate httpd.conf or (the long painful way) find / |grep -in "httpd.conf"
Use your favourite editor, and edit the file that gets returned.
Make sure to restart apache after the conf changes!
----- Original Message -----
From: joerg p <superbla3000 at GMX.NET>
Date: Fri, 10 Sep 2004 17:53:48 +0200
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] phtml apache2 config
> 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
More information about the mapserver-users