By tommyaquinas on
I have a drupal site that has been up and running for sometime; today I tried installing the webFM module and somewhere in the configuration process, the whole thing went stupid on me. Now, no matter what URL I type in, the system attempts to download the PHP file for that page rather than processing it.
I think it may have to do with the file system default location, but I am not sure (that's what I was messing with when I was doing it). Any idea on how to reset the location if you can't get into drupal admin (or any drupal page)?
TA
Comments
SetHandler
Have you noticed the small .htaccess files which Drupal creates in the 'files' directories? They contain a
SetHandler something-irrelevantline, which does exactly this, disables the procesing of php files in that directory and in all its subdirectories, for security reasons.My guess is that such a small .htaccess file has been created in a directory too high up.
Look for it and eliminate it, or even better remove that line and make the file read-only so that it won't be created again before you change the setting.