AddType / .htaccess
Posted: Sat May 17, 2003 10:07 am
I would like my server to consider say .foo files as .php files
I figured the way to do it is in .htaccess...and to point you in some direction i found something like
AddType image/gif .gif
but that is for images i am trying to figure out how to apply this to php files ... perhaps ForceType is better...any help appretiated...
Or perhaps
Action add-footer /cgi-bin/footer.foo
AddHandler add-footer .php
I figured the way to do it is in .htaccess...and to point you in some direction i found something like
AddType image/gif .gif
but that is for images i am trying to figure out how to apply this to php files ... perhaps ForceType is better...any help appretiated...
Or perhaps
Action add-footer /cgi-bin/footer.foo
AddHandler add-footer .php