I've just taken over helping a friend run his page, and I've run into some interesting problems. He wants to use some of "that cool php/mysql stuff you do", and I figured it wouldn't be that much of an issue....but his mainpage is a .shtml file, that uses the exec cgi tags...so I need to leave it as a .shtml. Ok, no biggie, I just added
AddType application/x-httpd-php3 .shtml
to the config file for apache.
No go. It's still only processed as a .shtml file. Which I verified by cp index.shtml index.phtml, and the php script worked as expected, but none of the exec cgi (shtml) stuff worked.
Is there a way to incorp both the shtml stuff and phtml stuff into one page, via apache's config file? I know I can't be the only person that has encountered this prob. Any advice appreciated.
Alex