Hey,
Is there a way to get Apache to interpret all files with MIME types that are not already defined to PHP?
I've tried
AddType application/x-httpd-php *
Any other ideas?
Tnx,
Sam Rudge

Hey.

You can try something like:

<FilesMatch ".*(?<!gif|png|jpeg|jpg|js|css|xml)$">
	SetHandler application/x-httpd-php
</FilesMatch>

The extensions list in the regexp are those who should not be interpreted as PHP.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.