[mapserver-users] source files of gmap

D.J. Grzicic grzicidj at muss.cis.mcmaster.ca
Mon Jan 7 09:39:53 EST 2002


Hi Dan,
when i add the "AddType" line for .phtml files i get an "INTERNAL SERVER
ERROR" when i try to access gmap75.phtml ? What could the problem be
????

-dave

On Sun, 06 Jan 2002 15:26:08 -0500
 Daniel Morissette <morissette at dmsolutions.ca> wrote:
> Looks like your web server desn't recognize .phtml as a PHP file
> extension and just returns the page source directly without running
> it
> through the PHP parser.
> 
> Find the line with "AddType ... .php" in your httpd.conf and add a
> similar line for ".phtml"... that should do the trick.
> 
> Daniel
> 
> 
> "D.J. Grzicic" wrote:
> > 
> > Hi list,
> > i downloaded the gmap source files in hope of getting it to run on
> my
> > machine however i run into a problem! When i access the
> "gmap75.phtml"
> > file i get a whole bunch of code on the top of my page with money
> signs
> > ($) all over the place (probably mapscript) and the graphical
> interface
> > at the bottom. What am i doing wrong ? Do i need to add a line into
> my
> > apache configuration file about .phtml files ?
> > 
> > -thanks in advance.
> > 
> > P.S. i'm running mapserver3.4 on apache, win2000, with
> php/mapscript




More information about the mapserver-users mailing list