deadlock Message Board
[ May Full List | Reply ]

Re: Patrick, question?
From Patrick R at GrowSpot.com on 8 May '00
replying to Patrick, question? posted by David A

>What do you put in the .htaccess to send the html to php. I would love to ditch those phtml and php extensions?

Just put this into the .htaccess file in public_html directory (or equivalent)

AddType application/x-httpd-php3 .php .php3 .phtml .html .htm

You also add and other type of .ending like .love .cars (if you sell cars this is cool) .games .toys .gifts, etc and then have them be served through the PHP translator! I haven't tried it with longer ones though, like .ireallyliketoplaywithmodeltrains or anything.




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message