2015-02-16, 08:06 PM
Pages: 1 2
2015-02-16, 08:06 PM
(2015-02-16, 07:58 PM)Leefish Wrote: [ -> ]it is the htaccess : http://leadershipformen.com/forum/forumd....php?fid=2
see? public.
Hmmm...okay...that does work...when one manually specifies the link: http://leadershipformen.com/forum/forumd....php?fid=2
But, if I go to http://leadershipformen.com/forum/ and then click the "Public" link, I get the error.
By the way, the link underneath "Public" is http://leadershipformen.com/forum/forum-2.html
So, I believe you when you say it is the .htaccess file...but I am not sure what I need to change to fix this.
2015-02-16, 08:07 PM
thisis the problem:
You have enabled friendly urls and your htaccess is not working.
You may need to add rewrite engine onto the htaccess or your host does not allow it. Either way, switch off friendly urls until you resolve the htaccess
You have enabled friendly urls and your htaccess is not working.
You may need to add rewrite engine onto the htaccess or your host does not allow it. Either way, switch off friendly urls until you resolve the htaccess
2015-02-16, 08:12 PM
(2015-02-16, 08:02 PM)Leefish Wrote: [ -> ]Right now - switch off the friendly urls until you hear back from the host
Okay...disabled search engine friendly URLs...and now, I can click into the "Public" forum normally.
And, I now see that the link underlying "Public" is http://leadershipformen.com/forum/forumd....php?fid=2
So, this difference in underlying links:
http://leadershipformen.com/forum/forumd....php?fid=2 (search engine friendly urls disabled)
vs.
http://leadershipformen.com/forum/forum-2.html (search engine friendly urls enabled)
Is that still a .htaccess problem?
(2015-02-16, 07:58 PM)Leefish Wrote: [ -> ]Is mod rewrite enabled on your server?
Just spoke with GoDaddy...they tell me I am on a Linux system...and mod rewrite is definitely supported.
(2015-02-16, 08:07 PM)Leefish Wrote: [ -> ]thisis the problem:
You have enabled friendly urls and your htaccess is not working.
What do I need to do to get it working?
(2015-02-16, 08:02 PM)Leefish Wrote: [ -> ]You may need to add rewrite engine onto the htaccess or your host does not allow it. Either way, switch off friendly urls until you resolve the htaccess
How do I resolve the htaccess?
2015-02-17, 01:19 AM
Try this is in your htaccess
If it helps any, here is the content of my .htaccess
Options -MultiViews +FollowSymlinks -Indexes
#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
# MediaTemple, it is known to cause random Internal Server
# errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off
# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>
#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
# the setting enabled in the Admin CP and you have this file
# named .htaccess
#
<IfModule mod_rewrite.c>
RewriteEngine on
# Some hosts need a RewriteBase specification.
RewriteBase /forum/
RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]
RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]
RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]
RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]
RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]
RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]
RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]
<IfModule mod_env.c>
SetEnv SEO_SUPPORT 1
</IfModule>
</IfModule>
#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>
Pages: 1 2