[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] httpd.conf
- Subject: Re: [cobalt-users] httpd.conf
- From: "Brian Curtis" <admin@xxxxxxxxxxx>
- Date: Wed Oct 25 10:31:01 2000
- Organization: Pomfret Computer Technologies
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Hello,
>
> 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.
>
> DirectoryIndex index.phtml index.php index.php3 index.html index.htm
> home.phtml home.php home.php3 home.html home.htm
You need to make sure that the AddType directive reflects .phtml to be
parsed by the PHP engine:
AddType application/x-httpd-php .php .php3 .php4 .phtml
(this is for a cgi-mode PHP4 installation, your httpd.conf may vary)
What you have done above is specify the order in which index pages are
searched for and served when a directory is called.
HTH
--
Brian Curtis