[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] httpd.conf



"Bryan - Utopian Web Productions" <bryan@xxxxxxxxxxx> writes:

>     Is there a trick to getting the following to work properly on a RaQ4i? I
> can't seem to get any .phtml extensions to be parsed through PHP4. I have
> made this alteration to httpd.conf, and have reloaded/restarted httpd upon
> completion.

Just altering the DirectoryIndex line won't help (as the name
indicates, it only decides which files are used as directory indexes).

Instead, you need to add a line like this:

        AddType application/x-httpd-php .phtml  


-- 
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/