Re: [PHP] Making .phtml an extension

2001-02-21 Thread Pavel Jartsev
Brandon Orther wrote: > > Hello, > > I am trying to get .phtml to work for php files. How would I do this? If you have Apache, then following line in httpd.conf should help: AddType application/x-httpd-php .php .php3 .phtml -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.ph

RE: [PHP] Making .phtml an extension

2001-02-21 Thread Angerer, Chad
assuming you are using Apache... add AddType application/x-httpd-php .phtml to your httpd.conf file -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 11:14 AM To: PHP User Group Subject: [PHP] Making .phtml an extension Hello, I a

Re: [PHP] Making .phtml an extension

2001-02-21 Thread Michael Stearne
Or the .htaccess file of your top directory if you are virtual hosting and cannot change the httpd.conf file. Michael Pavel Jartsev wrote: > Brandon Orther wrote: > > > > Hello, > > > > I am trying to get .phtml to work for php files. How would I do this? > > If you have Apache, then followin

RE: [PHP] Making .phtml an extension

2001-02-21 Thread Jon Haworth
You would add "phtml" to the line in your server config file that determines which extensions are handled by PHP To give more info we'd really need details of which server software you're running, and whether it's hosted by an external company or if it's in your bedroom. Cheers Jon -Or