Forum Moderators: coopster

Message Too Old, No Replies

converting shtml to php pages

shtml, php pages

         

carminejg3

9:04 pm on Apr 7, 2006 (gmt 0)

10+ Year Member



Hi...

Does anyone know how I could set up my apache server to render a page as php even if the extenstion is .shtml?

I have a ton of pages and don't want to just rename them with the php ending..

boxfan

10:31 pm on Apr 7, 2006 (gmt 0)

10+ Year Member



Add the following to the root .htaccess file

AddType application/x-httpd-php .shtml