0

Getting the following error when trying to access my subdomain wordpress blog:

`Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an 
ErrorDocument to handle the request.`

It's seems to be caused by a htaccess file that sits higher up in the public html folder. But i'm not sure what to change in this access file to fix the problem. The htaccess file contains:

`<IfModule mod_rewrite.c>
 Options Indexes FollowSymLinks
 RewriteEngine On
 RewriteBase /
 RewriteCond %{HTTPS} off
 RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 RewriteRule ^index\.html$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.html [L]
 </IfModule>`
  • can you post the directory structure and where the .htaccess is located? – TheChetan Sep 05 '17 at 04:16
  • The .htaccess file sits directly in the public html folder. And then the blog folder sits inside the Public Html folder. Does that make sense? – Catherine Sep 05 '17 at 04:46
  • Here's a screen shot of the directory: https://drive.google.com/file/d/0B9PNXOOGdKsKTFhybUFvU0p5b0k/view?usp=sharing – Catherine Sep 05 '17 at 04:49
  • i deleted my anwesr – Vel Sep 05 '17 at 08:06
  • @Catherine your htaccess looks fine. It looks like a permissions issue, see the permissions that your directory has. See if everyone has read access. Also look at: https://stackoverflow.com/q/10873295/4110233, you should find what you need there. – TheChetan Sep 05 '17 at 10:57

0 Answers0