Quote:
AddType application/x-httpd-php .html .htm .shtml
Add the .shtml if you want to parse .shtml for php.
You actually can parse for both in Apache2 by setting up an INCLUDES filter on the content.
Make sure pages are already parsed, then do something like:
AddOutputFilterbyType INCLUDES text/html
maybe.....
|
hmmm. my tgp script, the template page is in a folder like mysite.com/vanilla/sitetemplates/main.shtml
that parses mysite.com/main.shtml
now if i drop an .htaccess file into mysite.com folder to php parse .shtml its going to parse both main.shtml files. is their somehow i can make this .htaccess php command just parse the mysite.com/main.shtml file? so that it doesnt affect the vanilla/sitetemplates/main.shtml file.
this is getting complicated for my noob ass. i might just have to find some inferior software thats non php babsed
