Forum Moderators: phranque
<if "%{DOCUMENT_ROOT}=~ /usr/">
AddType application/x-httpd-php53 .shtml
FcgidWrapper "/home/httpd/cgi-bin/php53-fcgi-starter.fcgi" .shtml
<FilesMatch "\.shtml$">
SetHandler fcgid-script
</FilesMatch>
</if> <FilesMatch "\.shtml$">
SetHandler fcgid-script
</FilesMatch> On the one hand, <Files> can be used inside <Directory>. On the other hand, <If> can be used inside <Directory>, <Location>, and <Files> sections (but not inside another <If> ).Ah, there it is. I kinda thought I'd read it somewhere and wasn't just making it up out of the clear blue sky.