[thelist] [PHP] Send it as plain html

Michael Pemberton evolt at mpember.net.au
Thu Nov 25 17:52:25 CST 2004


Paul Bennett wrote:
> Correct me oif I'm wrong but this is not a "special page" thing, it's an 
> Apache thing. In the apoache httpd.conf file you can spcify that .html 
> files will be given to the php interpreter for processing. php does it's 
> thing and then spits out the resultant html.
> 
> Someone far more knoweldagble than I will chime in on the exact how-to....
> 
> Paul B
> 

I'm not sure of the particular module that does it, but apache will 
normally guess the extension of the file being requested. eg.

server/folder/pagename.html = server/folder/pagename.html.php

This will only work if there is not a pagename.html file in the folder.

hth

-- 
Michael Pemberton
evolt at mpember.net.au




More information about the thelist mailing list