htaccess add TEXT handler to PHP extention!
Posted: Sat May 05, 2007 1:10 pm
i use this code in my main .htaccess file to add my custom phpini file to any php extenion:
what i want to do, is add the TEXT hander to all php file extentions. so i'm guessing you could modify the above code to do such a thing, but i am just wondering what the TEXT hander would be called? any suggestions/ideas?
Code: Select all
Options +ExecCGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi