MyBB Community Forums

Full Version: 403 forbidden error when trying to view the index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
going from my portal to my index page is giving me a 403 forbidden error. the exact error: "Forbidden

You don't have permission to access /index.php on this server."

what would cause this?

here's what's in my .htaccess:

# this is to make the portal the main page for the forums

DirectoryIndex portal.php index.php index.html 

RewriteEngine on

# Some hosts require RewriteBase to make RewriteRules work.
RewriteBase /

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://shavenook.com/$1?$2 [L,QSA,R=301]

# Google SEO 404:
ErrorDocument 404 /misc.php?google_seo_error=404

# Google SEO Sitemap:
RewriteRule ^sitemap-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]


# Google SEO URL Forums:
RewriteRule ^forum-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^announcement-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^user-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^calendar-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^event-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

#ProPortal
RewriteRule ^page-([0-9A-Za-z]+)\.html$ portal.php?pages=$1 [L,QSA,NC]

and then I have this in my /inc folder:

# Protect the config.php file
<files config.php>
Order deny,allow
deny from all
</files>

site url:
http://shavenook.com/index.php
Whats the CHMOD settings for /index.php ?
actually, I think it was a server issue as the entire site went down for about 20 minutes and the hosting company's site went down too.

index.php is 644.
Hmm, try asking or contacting your host then. They might have CHMOD bad config from root level only.