Web Hosting Talk







View Full Version : Apache Handlers


stripeyteapot
07-20-2004, 04:06 AM
I know how to add them, but what's the handler to allow and extension that isn't .php to allow PHP scripts to run?

Zopester
07-20-2004, 04:16 AM
Unless I'm mistaken, in your .htaccess file add the following line:


AddType application/x-httpd-php .php .html .whatever


(changing .whatever to be whichever extensions you want to be treated as php, of course)

stripeyteapot
07-20-2004, 04:25 AM
Thank you :) Much appreciated