Not true, you can add .html for the x-type in httpd.conf for php. Drawbacks to this of course are that html files with no php code in them are sent to the parser also. If you are serving a lot of web pages, this could potentially slow your system down. I would recommend a .phtml file. Eric Six Linux...yeah! -----Original Message----- From: Phil Shrimpton [mailto:phil@shrimpton.co.uk] Sent: Monday, September 17, 2001 1:06 PM To: Tom Kostiainen; suse-linux Subject: Re: [SLE] php in html files On Tuesday 18 September 2001 03:05, Tom Kostiainen wrote: Hi,
Apache won't process php that is inside html files. What do I need to change in httpd.conf (?) to have apache understand php in html files?
PHP needs to be in *.php files not *.html files for apache to process them Cheers PHil -- Linux 2.4.4-4GB 6:04pm up 5 days, 7:31, 1 user, load average: 3.47, 2.48, 1.57 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com