|
Adding "AddType application/x-httpd-php .php" to the .htaccess file made no difference. Also, requests for regular PHP files (like example.com/ai-test/test.php) work fine, as in they are properly run through PHP, even without the AddType line. It's just the auto-index script builtin to LS that has this problem. Additionally, the "Content-Type: handler/x-httpd-php" header is causing the browser to throw up a file download prompt but I think we forgot to mention that the contents of that file are the un-interpreted auto-index PHP script.
|