jona2402 Posted January 14, 2011 Share Posted January 14, 2011 New to PHP... Using Apache 2.2.6 Have xhtml files with .html extension. These are mentioned in the vhost .conf file with no extension to use a specific function in a specific module. The module maps the file name to the actual file, reads it, searches for a specific node, processes the contents of the node and replaces the node with the results of its processing. eg, a request for "gallery" is received and the gallery.html file is processed. When I load mod_php, all these requests cease to be processed and an empty document is returned. Is there a way to force PHP to only process files with a .php/.phtml extension and to leave the other files (specifically those with no extension) alone? Quote Link to comment https://forums.phpfreaks.com/topic/224434-php-processing-files-without-extension/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.