هاست لینوکس

آخرین بسته‌ی MyBB: نسخه‌ی 1.8.27 MyBB منتشر شد


امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
فایل htaccess
#1
dدرود دوستان این فالی htaccessما کدهاش فقط اینه
موردی نداره؟؟؟؟
کد php:
<Files 403.shtml>
order allow,deny
allow from all
</Files>

#deny from 66.249.
#deny from 65.55.
deny from 195.128.18.19
#deny from 64.233.
#deny from 66.102.
#deny from 72.14.
#deny from 74.125.
#deny from 209.85.
#deny from 216.239.
#deny from 64.4.
#deny from 65.52.
#deny from 157.54.
#deny from 207.46.
#deny from 207.68.
#deny from 8.12.
#deny from 66.196.
#deny from 66.228.
#deny from 67.195.
#deny from 68.142.
#deny from 72.30.
#deny from 74.6.
#deny from 202.160.
#deny from 209.191. 

کدهای اصلی رو هم بهش اضاف میکنم ارور500 میده؟؟؟؟؟؟؟؟؟؟
دست بهش بزنم یا نزنم؟
سپاسBig GrinTongue
پاسخ
#2
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request

كلا هر چي ميزارم اين اررور رو ميده
پاسخ
#3
وقتي كداي اصلي رو ميزارم جاي اين كدها
همه جا اين ارور مياد
هم صفحه اصلي هم موضوعات هم ژنل ادمين
پاسخ
#4
من اين يه تيكه را متوجه نميشم
Rewrite Engines on

كل فايل اچ تي اكسس من همون كدهاي بالاست!
كد بهش اضافه ميشه همش اون ارور مياد
پاسخ
#5
کد php:
<IfModule mod_rewrite.c>
    
RewriteEngine on
    RewriteRule 
^forum-([0-9]+)\.htmlforumdisplay.php?fid=$[L,QSA]
    
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.htmlforumdisplay.php?fid=$1&page=$[L,QSA]

    
RewriteRule ^thread-([0-9]+)\.htmlshowthread.php?tid=$[L,QSA]
    
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.htmlshowthread.php?tid=$1&page=$[L,QSA]
    
RewriteRule ^thread-([0-9]+)-lastpost\.htmlshowthread.php?tid=$1&action=lastpost [L,QSA]
    
RewriteRule ^thread-([0-9]+)-nextnewest\.htmlshowthread.php?tid=$1&action=nextnewest [L,QSA]
    
RewriteRule ^thread-([0-9]+)-nextoldest\.htmlshowthread.php?tid=$1&action=nextoldest [L,QSA]
    
RewriteRule ^thread-([0-9]+)-newpost\.htmlshowthread.php?tid=$1&action=newpost [L,QSA]
    
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.htmlshowthread.php?tid=$1&pid=$[L,QSA]

    
RewriteRule ^post-([0-9]+)\.htmlshowthread.php?pid=$[L,QSA]

    
RewriteRule ^announcement-([0-9]+)\.htmlannouncements.php?aid=$[L,QSA]

    
RewriteRule ^user-([0-9]+)\.htmlmember.php?action=profile&uid=$[L,QSA]

    
RewriteRule ^calendar-([0-9]+)\.htmlcalendar.php?calendar=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.htmlcalendar.php?action=yearview&calendar=$1&year=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.htmlcalendar.php?calendar=$1&year=$2&month=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.htmlcalendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.htmlcalendar.php?action=weekview&calendar=$1&week=$[L,QSA]

    
RewriteRule ^event-([0-9]+)\.htmlcalendar.php?action=event&eid=$[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

اينو به پايين همون كدا اضافه كردم
ديگه ارور نداد اما بقيه كده ارو ميزارم ارور ميده
پاسخ
#6
کد php:
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
    RewriteRule 
^forum-([0-9]+)\.htmlforumdisplay.php?fid=$[L,QSA]
    
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.htmlforumdisplay.php?fid=$1&page=$[L,QSA]

    
RewriteRule ^thread-([0-9]+)\.htmlshowthread.php?tid=$[L,QSA]
    
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.htmlshowthread.php?tid=$1&page=$[L,QSA]
    
RewriteRule ^thread-([0-9]+)-lastpost\.htmlshowthread.php?tid=$1&action=lastpost [L,QSA]
    
RewriteRule ^thread-([0-9]+)-nextnewest\.htmlshowthread.php?tid=$1&action=nextnewest [L,QSA]
    
RewriteRule ^thread-([0-9]+)-nextoldest\.htmlshowthread.php?tid=$1&action=nextoldest [L,QSA]
    
RewriteRule ^thread-([0-9]+)-newpost\.htmlshowthread.php?tid=$1&action=newpost [L,QSA]
    
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.htmlshowthread.php?tid=$1&pid=$[L,QSA]

    
RewriteRule ^post-([0-9]+)\.htmlshowthread.php?pid=$[L,QSA]

    
RewriteRule ^announcement-([0-9]+)\.htmlannouncements.php?aid=$[L,QSA]

    
RewriteRule ^user-([0-9]+)\.htmlmember.php?action=profile&uid=$[L,QSA]

    
RewriteRule ^calendar-([0-9]+)\.htmlcalendar.php?calendar=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.htmlcalendar.php?action=yearview&calendar=$1&year=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.htmlcalendar.php?calendar=$1&year=$2&month=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.htmlcalendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.htmlcalendar.php?action=weekview&calendar=$1&week=$[L,QSA]

    
RewriteRule ^event-([0-9]+)\.htmlcalendar.php?action=event&eid=$[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

اين كل كدهاي اچ تي اكسس هست كه از تو بسته ماي بي بي كژي كردم
اينارو اضافه ميكنم ارور ميده
اما اين قسمت رو كه اضافه ميكنم ارور نميده
کد php:
<IfModule mod_rewrite.c>
    
RewriteEngine on
    RewriteRule 
^forum-([0-9]+).htmlforumdisplay.php?fid=$[L,QSA]
    
RewriteRule ^forum-([0-9]+)-page-([0-9]+).htmlforumdisplay.php?fid=$1&page=$[L,QSA]

    
RewriteRule ^thread-([0-9]+).htmlshowthread.php?tid=$[L,QSA]
    
RewriteRule ^thread-([0-9]+)-page-([0-9]+).htmlshowthread.php?tid=$1&page=$[L,QSA]
    
RewriteRule ^thread-([0-9]+)-lastpost.htmlshowthread.php?tid=$1&action=lastpost [L,QSA]
    
RewriteRule ^thread-([0-9]+)-nextnewest.htmlshowthread.php?tid=$1&action=nextnewest [L,QSA]
    
RewriteRule ^thread-([0-9]+)-nextoldest.htmlshowthread.php?tid=$1&action=nextoldest [L,QSA]
    
RewriteRule ^thread-([0-9]+)-newpost.htmlshowthread.php?tid=$1&action=newpost [L,QSA]
    
RewriteRule ^thread-([0-9]+)-post-([0-9]+).htmlshowthread.php?tid=$1&pid=$[L,QSA]

    
RewriteRule ^post-([0-9]+).htmlshowthread.php?pid=$[L,QSA]

    
RewriteRule ^announcement-([0-9]+).htmlannouncements.php?aid=$[L,QSA]

    
RewriteRule ^user-([0-9]+).htmlmember.php?action=profile&uid=$[L,QSA]

    
RewriteRule ^calendar-([0-9]+).htmlcalendar.php?calendar=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+).htmlcalendar.php?action=yearview&calendar=$1&year=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+).htmlcalendar.php?calendar=$1&year=$2&month=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+).htmlcalendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+).htmlcalendar.php?action=weekview&calendar=$1&week=$[L,QSA]

    
RewriteRule ^event-([0-9]+).htmlcalendar.php?action=event&eid=$[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



لينكارو هم اچ تي ام ال كردBig Grin
پاسخ
#7
من نميخام غير فعال كنم
بايد اونoffرو كنمon?
پاسخ
#8
الان اون كد اصلي كه توش ادرس اي ژي هست رو ژاك كنم؟Blush
پاسخ
#9
اين كدي كه گفتيد من پاك كردم شد اين
کد php:
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


#
# 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
    RewriteRule 
^forum-([0-9]+)\.htmlforumdisplay.php?fid=$[L,QSA]
    
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.htmlforumdisplay.php?fid=$1&page=$[L,QSA]

    
RewriteRule ^thread-([0-9]+)\.htmlshowthread.php?tid=$[L,QSA]
    
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.htmlshowthread.php?tid=$1&page=$[L,QSA]
    
RewriteRule ^thread-([0-9]+)-lastpost\.htmlshowthread.php?tid=$1&action=lastpost [L,QSA]
    
RewriteRule ^thread-([0-9]+)-nextnewest\.htmlshowthread.php?tid=$1&action=nextnewest [L,QSA]
    
RewriteRule ^thread-([0-9]+)-nextoldest\.htmlshowthread.php?tid=$1&action=nextoldest [L,QSA]
    
RewriteRule ^thread-([0-9]+)-newpost\.htmlshowthread.php?tid=$1&action=newpost [L,QSA]
    
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.htmlshowthread.php?tid=$1&pid=$[L,QSA]

    
RewriteRule ^post-([0-9]+)\.htmlshowthread.php?pid=$[L,QSA]

    
RewriteRule ^announcement-([0-9]+)\.htmlannouncements.php?aid=$[L,QSA]

    
RewriteRule ^user-([0-9]+)\.htmlmember.php?action=profile&uid=$[L,QSA]

    
RewriteRule ^calendar-([0-9]+)\.htmlcalendar.php?calendar=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.htmlcalendar.php?action=yearview&calendar=$1&year=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.htmlcalendar.php?calendar=$1&year=$2&month=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.htmlcalendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$[L,QSA]
    
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.htmlcalendar.php?action=weekview&calendar=$1&week=$[L,QSA]

    
RewriteRule ^event-([0-9]+)\.htmlcalendar.php?action=event&eid=$[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
تو پايين كدها گذاشتم اما باز ارور ميده1
پاسخ
#10
رو هاست
الان تاپيكايي كه اينطور ميشه باز نميشه
http://barobax.org/forum/thread-1018-lastpost.html
اين ارور رو ميده
Not Found
The requested URL /forum/thread-1018-lastpost.html was not found on this server.
پاسخ


پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان