All PHP File Can Be Opened Directly
-
Hi…
I’ve upgraded from wp 2.3 to wp 2.3.1, but now, all php files of the themes, kubrick/default, and other wp themes on my “Themes” folder, can be accessed directly via a browser. I don’t know why.
I’ve tried to fix it using some ways/tricks, likes the tricks written by Mike: Securing PHP Include Files , also tricks using .htaccess Deny Access to No Referrer Requests, and using a blank index.php (i put in each folder » images « of each theme) but unfortunately, still these php files still can be accesed directly.
In my .htaccess (root folder) there’s only :
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
I copied from “Permalink” box in my wp-admin panel. And there’s Options -Indexes also in that .htaccess
so, i need help before i go crazy !
- The topic ‘All PHP File Can Be Opened Directly’ is closed to new replies.