Re: Adding a single php file to .htaccess.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/8/25 tedd <tedd.sperling@xxxxxxxxx>:> Dotan:>> This is what I use to force php to consider certain files:>> # handler for phpsuexec..> <FilesMatch "\.(htm|html|css|tpl)$">>  SetHandler application/x-httpd-php> </FilesMatch>>> I occasionally use php in css files and this works for that.>> My understanding is that you could change the FilesMatch to whatever> specific files you want. For example, if you had changed "contact.html" from> Python to php it would read:>> <FilesMatch "contact.html">>> Would that solve the problem?>> Cheers,>> tedd>
Thanks, as soon as I get to a place where I dare run SSH I will trythat. It looks to be just what I was looking for, thanks.
-- Dotan Cohen
http://what-is-what.comhttp://gibberish.co.ilא-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת;
ä-ö-ü-ß-Ä-Ö-Ü

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux