2012-03-16, 04:49 AM
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:
and then I have this in my /inc folder:
site url:
http://shavenook.com/index.php
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