View Single Post
Old 2006-10-19, 01:46 AM   #5
Doug E
Kids are great, Appu. You can teach them to hate the things you hate and they practically raise themselves now-a-days, you know, with the internet and all
 
Doug E's Avatar
 
Join Date: Mar 2005
Location: Canadeh
Posts: 197
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
__________________
Asian Porn | Sora Aoi | Natt Kesarin
Doug E is offline   Reply With Quote