403 Error Access Denied, index.php root file only
-
Ok, so I successfully installed WordPress on a Apache server, and was immediately met with a 403/ACCESS DENIED error trying to sign in.
All of my file permissions are set to 775.
What’s even more odd is I can log into the wp-admin/index.php file just fine. I can access a .txt file, or .html in the root directory just fine, I can also access any image in any directory just fine.
I just simply can’t run my index PHP files in my root directory, or my wp-content/theme/nameoftheme/it’s index.php file. The root php files give me a 403/ACCESS DENIED error, and my theme/index.php file gives me a error string, failure to call function, etc.
I can however, run wp-login.php in my root directory, so it’s just the index.php file…
My .htaccess file looks as such :
# BEGIN WordPress AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> # END WordPress
Please help, I’m at my wits end….
- The topic ‘403 Error Access Denied, index.php root file only’ is closed to new replies.