نمایش نتایج: از شماره 1 تا 3 , از مجموع 3

موضوع: ریدایرکت

  1. #1
    کاربر اخراج شده
    تاریخ عضویت
    Jun 2009
    محل سکونت
    تهران
    نوشته ها
    188
    تشکر تشکر کرده 
    201
    تشکر تشکر شده 
    407
    تشکر شده در
    269 پست

    پیش فرض ریدایرکت

    با سلام، در یکی از هاست های انتقال داده شد همه دامنه ها روی یک دامنه ریدایرکت میشن، ما .htaccess و index.php بررسی کردیم ولی کدی در این مورد پیدا نکردیم، کدهای این دو فایل میزرام و منتظر راهنمایی شما هستم :

    کد PHP:
    #####################################  Start htaccess sec code
    <Files "^\.ht">
    Order allow,deny
    Deny from all
    </Files>
    <
    Files config.php>
    order allow,deny
    deny from all
    </Files>
    #####################################  end htaccess sec code

    #SetEnv TZ Asia/Tehran


    <IFModule mod_rewrite.c>
    RewriteEngine on
    #####################################  Start Set Your Path
    RewriteBase /
    #####################################  End Set Your Path



    #####################################  Start Injection/xss/Agent Blocking
    RewriteCond %{QUERY_STRINGbase64_encode.*\(.*\) [OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(;|<|>|||\)|%0A|%0D|%22|%27|%3C|%3E|).*(/\*|union|concat).* [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^Anarchie [OR]
    RewriteCond %{HTTP_USER_AGENT} ^ASPSeek [OR]
    RewriteCond %{HTTP_USER_AGENT} ^attach [OR]
    RewriteCond %{HTTP_USER_AGENT} ^autoemailspider [OR]
    RewriteCond %{HTTP_USER_AGENT} ^XaldonWebSpider [OR]
    RewriteCond %{HTTP_USER_AGENT} ^Xenu [OR]
    RewriteCond %{HTTP_USER_AGENT} ^Zeus.*Webster [OR]
    RewriteCond %{HTTP_USER_AGENT} ^Zeus
    RewriteRule 
    ^.* - [F,L]
    #####################################  End Injection/xss Blocking



    RewriteRule ^index.html index.php

    #Articles
    RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html modules.php?name=News&file=article-seo&sid=$1&mode=$2&order=$3&thold=$4
    RewriteRule 
    ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article-seo&thold=$1&mode=$2&order=$3&sid=$4$5
    RewriteRule ^article-topic([0-9]*)-page([0-9]*).html modules.php?name=News&new_topic=$1&page=$2
    RewriteRule 
    ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&page=$2
    RewriteRule 
    ^article-category-([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1
    RewriteRule 
    ^article-print-([0-9]*).html modules.php?name=News&file=print&sid=$1
    RewriteRule 
    ^article-friend-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&sid=$1
    RewriteRule 
    ^article-page-([0-9]*).html modules.php?name=News&page=$1
    RewriteRule 
    ^article([1-9][0-9]*).* modules.php?name=News&file=article-seo&sid=$[L]
    RewriteRule ^([0-9]*)-([a-z]*) modules.php?name=News&file=article-seo&sid=$1  
    RewriteRule 
    ^([0-9]*)/([a-z]*) modules.php?name=News&file=article-seo&sid=$1  
    #RewriteRule ^/([^/]*)\([1-9][0-9]*)  modules.php?name=News&file=article-seo&sid=$1  [L]
    RewriteRule ^article-topic-([0-9]*).html modules.php?name=News&new_topic=$
    RewriteRule 
    ^t-([1-9][0-9]*)-([^/]*).html modules.php?name=News&new_topic=$1
    RewriteRule 
    ^allnews.html modules.php?name=News&file=allindex
    RewriteRule 
    ^news.html modules.php?name=News

    RewriteRule 
    ^tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/page/([0-9]*)/ modules.php\?name=News&file=tags&tags=$1&page=$2
    RewriteRule 
    ^tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/page/([0-9]*) modules.php\?name=News&file=tags&tags=$1&page=$2
    RewriteRule 
    ^tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=News&file=tags&tags=$1
    RewriteRule 
    ^tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*) modules.php?name=News&file=tags&tags=$1


    #Products
    RewriteRule ^Products-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html modules.php?name=Products&file=product&sid=$1&mode=$2&order=$3&thold=$4
    RewriteRule 
    ^Products-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=Products&file=product&thold=$1&mode=$2&order=$3&sid=$4$5
    RewriteRule ^Products-topic([0-9]*)-page([0-9]*).html modules.php?name=Products&new_topic=$1&page=$2
    RewriteRule 
    ^Products-category([0-9]*)-page([0-9]*).html modules.php?name=Products&file=categories&op=newindex&catid=$1&page=$2
    RewriteRule 
    ^Products-category-([0-9]*).html modules.php?name=Products&file=categories&op=newindex&catid=$1
    RewriteRule 
    ^Products-print-([0-9]*).html modules.php?name=Products&file=print&sid=$1
    RewriteRule 
    ^Products-friend-([0-9]*).html modules.php?name=Products&file=friend&op=FriendSend&sid=$1
    RewriteRule 
    ^Products-page-([0-9]*).html modules.php?name=Products&page=$1
    RewriteRule 
    ^Products-([1-9][0-9]*).* modules.php?name=Products&file=product&sid=$[L]
    RewriteRule ^Products-([0-9]*)-([a-z]*) modules.php?name=Products&file=product&sid=$1  
    RewriteRule 
    ^Products/([0-9]*)/([a-z]*) modules.php?name=Products&file=product&sid=$1  
    #RewriteRule ^/([^/]*)\([1-9][0-9]*)  modules.php?name=Products&file=product&sid=$1  [L]
    RewriteRule ^Products-topic-([0-9]*).html modules.php?name=Products&new_topic=$
    RewriteRule 
    ^Products-t-([1-9][0-9]*)-([^/]*).html modules.php?name=Products&new_topic=$1
    RewriteRule 
    ^allProducts.html modules.php?name=Products&file=allindex
    RewriteRule 
    ^Products.html modules.php?name=Products
    RewriteRule 
    ^Good-([0-9]*).html modules.php?name=cart&op=addgood&gdn=$1
    RewriteRule 
    ^Products-tags-([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*).html modules.php?name=Products&file=tags&tags=$1
    RewriteRule 
    ^Products-tags-([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)-([0-9]*).html modules.php?name=Products&file=tags&tags=$1&page=$2
    RewriteRule 
    ^Products/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*) modules.php?name=Products&file=tags&tags=$1
    RewriteRule 
    ^Products/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/([0-9]*) modules.php?name=Products&file=tags&tags=$1&page=$2



    #AvantGo
    RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1
    RewriteRule 
    ^avantgo.html modules.php?name=AvantGo

    #Content
    RewriteRule ^content-([0-9]*)-page([0-9]*).html modules.php?name=Content&file=content&op=showpage&pid=$1&page=$2
    RewriteRule 
    ^content-cat-([0-9]*).html modules.php?name=Content&file=topic&op=list_pages_categories&cid=$1
    RewriteRule 
    ^content-([0-9]*).html modules.php?name=Content&file=content&op=showpage&pid=$1
    RewriteRule 
    ^content-([0-9]*)-ok.html modules.php?name=Content&file=content&op=showpage&pid=$1&ok=1
    RewriteRule 
    ^content-topics.html modules.php?name=Content&file=topic
    RewriteRule 
    ^content-topic-([0-9]*).html modules.php?name=Content&file=index&new_cat=$1
    RewriteRule 
    ^content-tags-([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*).html modules.php?name=Content&file=tags&tags=$1
    RewriteRule 
    ^content-tags-([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)-([0-9]*).html modules.php?name=Content&file=tags&tags=$1&page=$2
    RewriteRule 
    ^content/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*) modules.php?name=Content&file=tags&tags=$1
    RewriteRule 
    ^content/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/([0-9]*) modules.php?name=Content&file=tags&tags=$1&page=$2
    RewriteRule 
    ^content.html modules.php?name=Content

    #Downloads
    RewriteRule ^downloadview-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3
    RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1
    RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1
    RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1
    RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1
    RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1
    RewriteRule ^ratedownload-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2
    RewriteRule ^ratedownload-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1
    RewriteRule ^download-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3
    RewriteRule ^downloads-(AddDownload|NewDownloads|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1
    RewriteRule ^download([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2
    RewriteRule ^download([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=search&query=$1
    RewriteRule ^download-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1
    RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1
    RewriteRule ^downloads.html modules.php?name=Downloads

    #Encyclopedia
    RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2&query=$3
    RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2
    RewriteRule ^encyclopedia-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&op=content&tid=$1&query=$2
    RewriteRule ^encyclopedia-([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1
    RewriteRule ^encyclopedia-list-([0-9]*).html modules.php?name=Encyclopedia&op=list_content&eid=$1
    RewriteRule ^encyclopedia-terms([0-9]*)-([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*).html modules.php?name=Encyclopedia&op=terms&eid=$1&ltr=$2
    RewriteRule ^encyclopedia-search-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&file=search&query=$1
    RewriteRule ^encyclopedia-search.html modules.php?name=Encyclopedia&file=search
    RewriteRule ^encyclopedia.html modules.php?name=Encyclopedia

    #Feedback
    RewriteRule ^feedback.html modules.php?name=Feedback

    #FAQ
    RewriteRule ^faq.html modules.php?name=FAQ
    RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9\+\&\-\/%[:punct:]\.\;]*).html modules.php?name=FAQ&myfaq=yes&id_cat=$1&categories=$2

    #Forums
    RewriteRule ^ftopicp-([0-9]*).html /Forum/viewtopic.php?p=$1 [R=301,L]
    RewriteRule ^ftopict-([0-9]*).html /Forum/viewtopic.php?t=$1 [R=301,L]
    RewriteRule ^modules.php?name=Forums&file=viewtopic&p=([0-9]*) /Forum/viewtopic.php?p=$1 [R=301,L]
    RewriteRule ^modules.php?name=Forums&file=viewtopic&t=([0-9]*) /Forum/viewtopic.php?t=$1 [R=301,L]

    #Journal
    RewriteRule ^journal-search-([a-zA-Z0-9]*).html modules.php?name=Journal&file=search&bywhat=aid&exact=1&forwhat=$1
    RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9]*).html modules.php?name=Journal&file=$1&$2=$3&$4=$5
    RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Journal&file=search&bywhat=$1&forwhat=$2
    RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op|disp)-([a-zA-Z0-9+]*).html modules.php?name=Journal&file=$1&$2=$3
    RewriteRule ^journal-edit.html modules.php?name=Journal&file=edit
    RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html modules.php?name=Journal&$1=$2
    RewriteRule ^journal.html modules.php?name=Journal

    #Members List
    RewriteRule ^members.html modules.php?name=Members_List

    #Private Messages
    RewriteRule ^messages-post-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=post&u=$1
    RewriteRule ^messages-post-([0-9]*).html modules.php?name=Private_Messages&mode=post&u=$1
    RewriteRule ^messages-new.html modules.php?name=Private_Messages&file=index&mode=post
    RewriteRule ^messages-(sentbox|inbox|savebox|outbox).html modules.php?name=Private_Messages&file=index&folder=$1
    RewriteRule ^messages.html modules.php?name=Private_Messages

    #Recommend Us
    RewriteRule ^recommend.html modules.php?name=Recommend_Us

    #Reviews
    RewriteRule ^reviews-new.html modules.php?name=Reviews&rop=write_review
    RewriteRule ^reviews-preview.html modules.php?name=Reviews&rop=preview_review
    RewriteRule ^reviews-([0-9]*)-page([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1&page=$2
    RewriteRule ^reviews-([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1
    RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%]*).* modules.php?name=Reviews&rop=postcomment&id=$1&title=$2
    RewriteRule ^reviews-([0-9]*)-delete.html modules.php?name=Reviews&rop=del_review&id_del=$1
    RewriteRule ^reviews-([0-9]*)-edit.html modules.php?name=Reviews&rop=mod_review&id=$1
    RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html modules.php?name=Reviews&rop=del_comment&cid=$1&id=$2
    RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html modules.php?name=Reviews&rop=$1&field=$2&order=$3
    RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html modules.php?name=Reviews&rop=$1
    RewriteRule ^reviews.html modules.php?name=Reviews

    #Search
    RewriteRule ^search.html modules.php?name=Search

    #Statistics
    RewriteRule ^stats-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=DailyStats&year=$1&month=$2&date=$3
    RewriteRule ^stats-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=MonthlyStats&year=$1&month=$2
    RewriteRule ^stats-([0-9]*).html modules.php?name=Statistics&op=YearlyStats&year=$1
    RewriteRule ^advstats.html modules.php?name=Statistics&op=Stats
    RewriteRule ^stats.html modules.php?name=Statistics

    #Stories Archive
    RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3
    RewriteRule ^archive-showall.html modules.php?name=Stories_Archive&sa=show_all
    RewriteRule ^archive.html modules.php?name=Stories_Archive

    #Surveys
    RewriteRule ^survey-results-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&op=results&pollID=$1&mode=$2&order=$3&thold=$4
    RewriteRule ^survey-results-([0-9]*).html modules.php?name=Surveys&op=results&pollID=$1
    RewriteRule ^survey-([0-9]*).html modules.php?name=Surveys&pollID=$1
    RewriteRule ^survey-comment-([0-9]*)-(tid|pid)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&pollID=$1&$2=$3&mode=$4&order=$5&thold=$6
    RewriteRule ^survey-commreply-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2&mode=$3&order=$4&thold=$5
    RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$6
    RewriteRule ^survey-showreply-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&mode=$2&order=$3&thold=$4
    RewriteRule ^survey-comments.html modules.php?name=Surveys&file=comments
    RewriteRule ^surveys.html modules.php?name=Surveys

    #Submit_News
    RewriteRule ^submit.html modules.php?name=Submit_News

    #Topics
    RewriteRule ^topics.html modules.php?name=Topics

    #products-Topics
    RewriteRule ^products-topics.html modules.php?name=Products_Topics

    #Top10
    RewriteRule ^top-([[:print:]]*).html modules.php?name=Top&zx=$1
    RewriteRule ^top.html modules.php?name=Top

    #Site_Map
    RewriteRule ^Site_Map.html modules.php?name=Site_Map


    #WebLinks
    RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkcomments&lid=$1&ttitle=$2
    RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkdetails&lid=$1&ttitle=$2
    RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkeditorial&lid=$1&ttitle=$2
    RewriteRule ^modifylink-([0-9]+).html modules.php?name=Web_Links&l_op=modifylinkrequest&lid=$1
    RewriteRule ^brokenlink-([0-9]+).html modules.php?name=Web_Links&l_op=brokenlink&lid=$1
    RewriteRule ^outsidelink-([0-9]+).html modules.php?name=Web_Links&l_op=outsidelinksetup&lid=$1
    RewriteRule ^linkop-(MostPopular|TopRated)-([0-9]+)-(num|percent).html modules.php?name=Web_Links&l_op=$1&ratenum=$2&ratetype=$3
    RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1
    RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1
    RewriteRule ^linkop-(AddLink|MostPopular|NewLinks|RandomLink|TopRated).html modules.php?op=modload&name=Web_Links&file=index&l_op=$1
    RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2
    RewriteRule ^viewlink-([0-9]*).html modules.php?name=Web_Links&l_op=visit&lid=$1
    RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlink&cid=$1&orderby=$2
    RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4
    RewriteRule ^link-([0-9]*).html modules.php?name=Web_Links&l_op=viewlink&cid=$1
    RewriteRule ^links-search-([a-zA-Z0-9]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) modules.php?name=Web_Links&l_op=search&query=$1&min=$2&orderby=$3&show=$4
    RewriteRule ^links-search-([a-zA-Z0-9_-]*)-orderby-([a-zA-Z]*).html modules.php?name=Web_Links&l_op=search&query=$1&orderby=$2
    RewriteRule ^links-search-([a-zA-Z0-9_-]*).html modules.php?name=Web_Links&l_op=search&query=$1
    RewriteRule ^links.html modules.php?name=Web_Links

    #Static Page
    RewriteRule ^static-([0-9]*).html modules.php?name=static&op=viewpage&pid=$1 [L]
    RewriteRule ^statics.html modules.php?name=static
    RewriteRule ^static-tags-([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*).html modules.php?name=static&file=tags&tags=$1
    RewriteRule ^static-tags-([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)-([0-9]*).html modules.php?name=static&file=tags&tags=$1&page=$2
    RewriteRule ^static/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*) modules.php?name=static&file=tags&tags=$1
    RewriteRule ^static/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/([0-9]*) modules.php?name=static&file=tags&tags=$1&page=$2

    #linkbox
    RewriteRule ^linkbox.html modules.php?name=linkbox
    RewriteRule ^special-links-([0-9]*)-([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*).html modules.php?name=linkbox&op=redirect&id=$1
    RewriteRule ^daily-links-([0-9]*)-([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*).html modules.php?name=linkbox&op=redirect&id3=$1
    RewriteRule ^propaganda-([0-9]*)-([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*).html modules.php?name=linkbox&op=redirect&id2=$1
    RewriteRule ^special-links/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*) modules.php?name=linkbox&op=redirect&id=$1
    RewriteRule ^daily-links/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*) modules.php?name=linkbox&op=redirect&id3=$1
    RewriteRule ^propaganda/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*) modules.php?name=linkbox&op=redirect&id2=$1


    #AvantGo
    RewriteRule ^News/m/page/([0-9]*)/ modules.php?name=AvantGo&page=$1
    RewriteRule ^News/m/([0-9]*)/ modules.php?name=AvantGo&op=ReadStory&sid=$1
    RewriteRule ^News/m/ modules.php?name=AvantGo
    RewriteRule ^News/m modules.php?name=AvantGo

    #cart
    RewriteRule ^Shopping-cart/([0-9]*)/ modules.php?name=cart&op=addgood&gdn=$1
    RewriteRule ^Shopping-cart/code/([0-9]*)/ modules.php?name=cart&cid=$1
    RewriteRule ^Shopping-cart/ modules.php?name=cart

    #Content
    RewriteRule ^contents/([0-9]*)/page/([0-9]*)/ modules.php?name=Content&file=content&op=showpage&pid=$1&page=$2
    RewriteRule ^contents/categorie/([0-9]*)/ modules.php?name=Content&file=topic&op=list_pages_categories&cid=$1
    RewriteRule ^contents/([0-9]*)/ modules.php?name=Content&file=content&op=showpage&pid=$1
    RewriteRule ^contents/([0-9]*)/ modules.php?name=Content&file=content&pid=$1
    RewriteRule ^contents/topics/ modules.php?name=Content&file=topic
    RewriteRule ^contents/topics/([0-9]*)/ modules.php?name=Content&file=index&new_cat=$1
    RewriteRule ^contents/topics/([0-9]*)/page/([0-9]*)/ modules.php?name=Content&file=index&new_cat=$1&page=$2
    RewriteRule ^contents/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*) modules.php?name=Content&file=tags&tags=$1
    RewriteRule ^contents/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/([0-9]*) modules.php?name=Content&file=tags&tags=$1&page=$2
    RewriteRule ^contents/page/([0-9]*)/ modules.php?name=Content&page=$1
    RewriteRule ^contents/ modules.php?name=Content
    RewriteRule ^contents modules.php?name=Content

    #Downloads
    RewriteRule ^downloadview/(comments|details|editorial)/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3
    RewriteRule ^downloads/mod/([0-9]*)/ modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1
    RewriteRule ^downloads/broken/([0-9]*)/ modules.php?name=Downloads&d_op=brokendownload&lid=$1
    RewriteRule ^downloads/shownew/([0-9]*)/ modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1
    RewriteRule ^downloads/seldate/([a-zA-Z0-9+]*)/ modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1
    RewriteRule ^downloads/file/([0-9]*)/ modules.php?name=Downloads&d_op=getit&lid=$1
    RewriteRule ^ratedownloads/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2
    RewriteRule ^ratedownloads/([0-9]*)/ modules.php?name=Downloads&d_op=ratedownload&lid=$1
    RewriteRule ^downloads/(TopRated|MostPopular)/([0-9]*)/(num|percent)/ modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3
    RewriteRule ^downloads/(AddDownload|NewDownloads|MostPopular|TopRated)/ modules.php?name=Downloads&d_op=$1
    RewriteRule ^downloads/cat/([0-9]*)/orderby/([a-zA-Z0-9+]*)/ modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2
    RewriteRule ^downloads/cat/([0-9]*)/([a-zA-Z0-9+]*)/page-([0-9]*)/ modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2&page=$3
    RewriteRule ^downloads/search/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/([a-zA-Z0-9+]*)/page-([0-9]*)/ modules.php?name=Downloads&d_op=search&query=$1&orderby=$2&page=$3
    RewriteRule ^downloads/search/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/([a-zA-Z0-9+]*)/ modules.php?name=Downloads&d_op=search&query=$1&orderby=$2
    RewriteRule ^downloads/search/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/page-([0-9]*)/ modules.php?name=Downloads&d_op=search&query=$1&page=$2
    RewriteRule ^downloads/search/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=Downloads&d_op=search&query=$1
    RewriteRule ^downloads/search/ modules.php?name=Downloads&d_op=search
    RewriteRule ^downloads/outside/([0-9]*)/ modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1
    RewriteRule ^downloads/cat/([0-9]*)/page-([0-9]*)/ modules.php?name=Downloads&d_op=viewdownload&cid=$1&page=$2
    RewriteRule ^downloads/cat/([0-9]*)/ modules.php?name=Downloads&d_op=viewdownload&cid=$1
    RewriteRule ^downloads/ modules.php?name=Downloads
    RewriteRule ^downloads modules.php?name=Downloads

    #Encyclopedia
    RewriteRule ^encyclopedia/([0-9]*)/page/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=Encyclopedia&op=content&tid=$1&page=$2&query=$3
    RewriteRule ^encyclopedia/([0-9]*)/page/([0-9]*)/ modules.php?name=Encyclopedia&op=content&tid=$1&page=$2
    RewriteRule ^encyclopedia/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=Encyclopedia&op=content&tid=$1&query=$2
    RewriteRule ^encyclopedia/([0-9]*)/ modules.php?name=Encyclopedia&op=content&tid=$1
    RewriteRule ^encyclopedia/list/([0-9]*)/ modules.php?name=Encyclopedia&op=list_content&eid=$1
    RewriteRule ^encyclopedia/terms/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=Encyclopedia&op=terms&eid=$1&ltr=$2
    RewriteRule ^encyclopedia/search/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=Encyclopedia&file=search&query=$1
    RewriteRule ^encyclopedia/search/ modules.php?name=Encyclopedia&file=search
    RewriteRule ^encyclopedia/ modules.php?name=Encyclopedia
    RewriteRule ^encyclopedia modules.php?name=Encyclopedia

    #Feedback
    RewriteRule ^feedback/ modules.php?name=Feedback
    RewriteRule ^feedback modules.php?name=Feedback

    #FAQ
    RewriteRule ^FAQ/([0-9]*)/([a-zA-Z0-9_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي\+\&\-\/%[:punct:]\.\;]*)/ modules.php?name=FAQ&myfaq=yes&id_cat=$1&categories=$2
    RewriteRule ^FAQ/ modules.php?name=FAQ
    RewriteRule ^FAQ modules.php?name=FAQ

    #Forums
    RewriteRule ^ftopicp-([0-9]*).html /Forum/viewtopic.php?p=$1 [R=301,L]
    RewriteRule ^ftopict-([0-9]*).html /Forum/viewtopic.php?t=$1 [R=301,L]
    RewriteRule ^modules.php?name=Forums&file=viewtopic&p=([0-9]*) /Forum/viewtopic.php?p=$1 [R=301,L]
    RewriteRule ^modules.php?name=Forums&file=viewtopic&t=([0-9]*) /Forum/viewtopic.php?t=$1 [R=301,L]

    #Journal
    RewriteRule ^journal-search-([a-zA-Z0-9]*).html modules.php?name=Journal&file=search&bywhat=aid&exact=1&forwhat=$1
    RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9]*).html modules.php?name=Journal&file=$1&$2=$3&$4=$5
    RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Journal&file=search&bywhat=$1&forwhat=$2
    RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op|disp)-([a-zA-Z0-9+]*).html modules.php?name=Journal&file=$1&$2=$3
    RewriteRule ^journal-edit.html modules.php?name=Journal&file=edit
    RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html modules.php?name=Journal&$1=$2
    RewriteRule ^journal.html modules.php?name=Journal

    #MT-Gallery
    RewriteRule ^gallery/([0-9]*)/ modules.php?name=MT-Gallery&pa=ShowGAL&gal=yes&id_cat=$1
    RewriteRule ^gallery/picture/([0-9]*)/ modules.php?name=MT-Gallery&pa=showpic&gal=yes&id=$1
    RewriteRule ^gallery/ modules.php?name=MT-Gallery
    RewriteRule ^gallery modules.php?name=MT-Gallery

    #Articles/News
    RewriteRule ^News/([0-9]*)/([a-z]*)/([0-9]*)/([0-9]*)/ modules.php?name=News&file=article-seo&sid=$1&mode=$2&order=$3&thold=$4
    RewriteRule ^News/topic/([0-9]*)/page/([0-9]*)/ modules.php?name=News&new_topic=$1&page=$2
    RewriteRule ^News/print/([0-9]*)/ modules.php?name=News&file=print&sid=$1
    RewriteRule ^News/pdf/([0-9]*)/ modules.php?name=News&file=pdf&sid=$1
    RewriteRule ^News/friend/([0-9]*)/ modules.php?name=News&file=friend&op=FriendSend&sid=$1
    RewriteRule ^News/page/([0-9]*)/ modules.php?name=News&page=$1
    RewriteRule ^([0-9]*)/ modules.php?name=News&file=article-seo&sid=$1 [L]
    RewriteRule ^News/topic/([0-9]*)/ modules.php?name=News&new_topic=$1 
    RewriteRule ^tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/page/([0-9]*)/ modules.php?name=News&file=tags&tags=$1&page=$2
    RewriteRule ^tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=News&file=tags&tags=$1
    RewriteRule ^News/ modules.php?name=News
    RewriteRule ^News modules.php?name=News

    #Products
    RewriteRule ^Products/([0-9]*)/([a-z]*)/([0-9]*)/([0-9]*)/ modules.php?name=Products&file=product&sid=$1&mode=$2&order=$3&thold=$4
    RewriteRule ^Products/topic/([0-9]*)/page/([0-9]*)/ modules.php?name=Products&product_topic=$1&page=$2
    RewriteRule ^Products/print/([0-9]*)/ modules.php?name=Products&file=print&sid=$1
    RewriteRule ^Products/friend/([0-9]*)/ modules.php?name=Products&file=friend&op=FriendSend&sid=$1
    RewriteRule ^Products/page/([0-9]*)/ modules.php?name=Products&page=$1
    RewriteRule ^Products/([0-9]*)/ modules.php?name=Products&file=product&sid=$1 [L]
    RewriteRule ^Products/topic/([0-9]*)/ modules.php?name=Products&product_topic=$1 
    RewriteRule ^Products/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/page/([0-9]*)/ modules.php?name=News&file=tags&tags=$1&page=$2
    RewriteRule ^Products/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=News&file=tags&tags=$1
    RewriteRule ^Products/ modules.php?name=Products
    RewriteRule ^Products modules.php?name=Products

    #products-Topics
    RewriteRule ^products-topics/ modules.php?name=Products_Topics
    RewriteRule ^products-topics modules.php?name=Products_Topics

    #Recommend Us
    RewriteRule ^recommendus/sitesent/ modules.php?name=Recommend_Us&op=SiteSent
    RewriteRule ^recommendus/ modules.php?name=Recommend_Us
    RewriteRule ^recommendus modules.php?name=Recommend_Us

    #Search
    RewriteRule ^search/stop/ modules.php?name=Search&qlen=1
    RewriteRule ^search/stories-search/([a-zA-Z0-9+_-]*)/([0-9]*)/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/([0-9]*)/ modules.php?name=Search&op=stories_search&author=$1&topic=$2&query=$3&days=$4&page=$5
    RewriteRule ^search/stories-search/([a-zA-Z0-9+_-]*)/([0-9]*)/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/ modules.php?name=Search&op=stories_search&author=$1&topic=$2&query=$3&days=$4
    RewriteRule ^search/stories-search/ modules.php?name=Search&op=stories_search
    RewriteRule ^search/content-search/([a-zA-Z0-9+_-]*)/([0-9]*)/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/([0-9]*)/ modules.php?name=Search&op=content-search&author=$1&contenttopic=$2&query=$3&days=$4&page=$5
    RewriteRule ^search/content-search/([a-zA-Z0-9+_-]*)/([0-9]*)/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/ modules.php?name=Search&op=content-search&author=$1&contenttopic=$2&query=$3&days=$4
    RewriteRule ^search/content-search/ modules.php?name=Search&op=content-search
    RewriteRule ^search/comments-search/([a-zA-Z0-9+_-]*)/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/([0-9]*)/ modules.php?name=Search&op=comments_search&comments_pos=$1&query=$2&days=$3&page=$4
    RewriteRule ^search/comments-search/([a-zA-Z0-9+_-]*)/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/ modules.php?name=Search&op=comments_search&comments_pos=$1&query=$2&days=$3
    RewriteRule ^search/comments-search/ modules.php?name=Search&op=comments_search
    RewriteRule ^search/users-search/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/([0-9]*)/ modules.php?name=Search&op=users_search&query=$1&days=$2&page=$3
    RewriteRule ^search/users-search/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/ modules.php?name=Search&op=users_search&query=$1&days=$2
    RewriteRule ^search/users-search/ modules.php?name=Search&op=users_search
    RewriteRule ^search/Forums-search/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/([0-9]*)/ modules.php?name=Search&op=Forums_search&query=$1&days=$2&page=$3
    RewriteRule ^search/Forums-search/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/ modules.php?name=Search&op=Forums_search&query=$1&days=$2
    RewriteRule ^search/Forums-search/ modules.php?name=Search&op=Forums_search
    RewriteRule ^search/staticpage-search/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/([0-9]*)/ modules.php?name=Search&op=staticpage_search&query=$1&days=$2&page=$3
    RewriteRule ^search/staticpage-search/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/([0-9]*)/ modules.php?name=Search&op=staticpage_search&query=$1&days=$2
    RewriteRule ^search/staticpage-search/ modules.php?name=Search&op=staticpage_search
    RewriteRule ^search/([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/topic/([0-9]*)/ modules.php?name=Search&query=$1&topic=$2
    RewriteRule ^search/ modules.php?name=Search
    RewriteRule ^search modules.php?name=Search

    #Site_Map
    RewriteRule ^Site_Map/ modules.php?name=Site_Map
    RewriteRule ^Site_Map modules.php?name=Site_Map

    #Static Page
    RewriteRule ^statics/([0-9]*)/ modules.php?name=static&op=viewpage&pid=$1 [L]
    RewriteRule ^statics/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/page/([0-9]*)/ modules.php?name=static&file=tags&tags=$1&page=$2
    RewriteRule ^statics/tags/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=static&file=tags&tags=$1
    RewriteRule ^statics/page/([0-9]*)/ modules.php?name=static&page=$1
    RewriteRule ^statics/ modules.php?name=static
    RewriteRule ^statics modules.php?name=static

    #Statistics
    RewriteRule ^statistics/([0-9]*)/([0-9]*)/([0-9]*)/ modules.php?name=Statistics&op=DailyStats&year=$1&month=$2&date=$3
    RewriteRule ^statistics/([0-9]*)/([0-9]*)/ modules.php?name=Statistics&op=MonthlyStats&year=$1&month=$2
    RewriteRule ^statistics/([0-9]*)/ modules.php?name=Statistics&op=YearlyStats&year=$1
    RewriteRule ^advstatistics/ modules.php?name=Statistics&op=Stats
    RewriteRule ^statistics/ modules.php?name=Statistics
    RewriteRule ^statistics modules.php?name=Statistics

    #Stories Archive
    RewriteRule ^archive/([0-9]*)/([0-9]*)/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/page/([0-9]*) modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3&page=$4
    RewriteRule ^archive/([0-9]*)/([0-9]*)/([a-zA-Z0-9_.-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهیي]*)/ modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3
    RewriteRule ^archive/showall/page/([0-9]*)/ modules.php?name=Stories_Archive&sa=show_all&page=$1
    RewriteRule ^archive/showall/ modules.php?name=Stories_Archive&sa=show_all
    RewriteRule ^archive/ modules.php?name=Stories_Archive
    RewriteRule ^archive modules.php?name=Stories_Archive

    #Reviews
    #RewriteRule ^reviews-new.html modules.php?name=Reviews&rop=write_review
    #RewriteRule ^reviews-preview.html modules.php?name=Reviews&rop=preview_review
    #RewriteRule ^reviews-([0-9]*)-page([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1&page=$2
    #RewriteRule ^reviews-([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1
    #RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%]*).* modules.php?name=Reviews&rop=postcomment&id=$1&title=$2
    #RewriteRule ^reviews-([0-9]*)-delete.html modules.php?name=Reviews&rop=del_review&id_del=$1
    #RewriteRule ^reviews-([0-9]*)-edit.html modules.php?name=Reviews&rop=mod_review&id=$1
    #RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html modules.php?name=Reviews&rop=del_comment&cid=$1&id=$2
    #RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html modules.php?name=Reviews&rop=$1&field=$2&order=$3
    #RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html modules.php?name=Reviews&rop=$1
    #RewriteRule ^reviews.html modules.php?name=Reviews

    #Submit_News
    RewriteRule ^submit/ modules.php?name=Submit_News
    RewriteRule ^submit modules.php?name=Submit_News

    #Surveys
    RewriteRule ^surveys/results/([0-9]*)/ modules.php?name=Surveys&op=pollResults&pollID=$1&sindex=yes
    RewriteRule ^surveys/hresults/([0-9]*)/ modules.php?name=Surveys&op=pollResults&pollID=$1
    RewriteRule ^surveys/([0-9]*)/ modules.php?name=Surveys&op=pollMain&pollID=$1
    RewriteRule ^surveys/ modules.php?name=Surveys
    RewriteRule ^surveys modules.php?name=Surveys

    #Top10
    RewriteRule ^tops/ modules.php?name=Top
    RewriteRule ^tops modules.php?name=Top

    #Topics
    RewriteRule ^topics/ modules.php?name=Topics
    RewriteRule ^topics modules.php?name=Topics

    #WebLinks
    RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkcomments&lid=$1&ttitle=$2
    RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkdetails&lid=$1&ttitle=$2
    RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkeditorial&lid=$1&ttitle=$2
    RewriteRule ^modifylink-([0-9]+).html modules.php?name=Web_Links&l_op=modifylinkrequest&lid=$1
    RewriteRule ^brokenlink-([0-9]+).html modules.php?name=Web_Links&l_op=brokenlink&lid=$1
    RewriteRule ^outsidelink-([0-9]+).html modules.php?name=Web_Links&l_op=outsidelinksetup&lid=$1
    RewriteRule ^linkop-(MostPopular|TopRated)-([0-9]+)-(num|percent).html modules.php?name=Web_Links&l_op=$1&ratenum=$2&ratetype=$3
    RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1
    RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1
    RewriteRule ^linkop-(AddLink|MostPopular|NewLinks|RandomLink|TopRated).html modules.php?op=modload&name=Web_Links&file=index&l_op=$1
    RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2
    RewriteRule ^viewlink-([0-9]*).html modules.php?name=Web_Links&l_op=visit&lid=$1
    RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlink&cid=$1&orderby=$2
    RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4
    RewriteRule ^link-([0-9]*).html modules.php?name=Web_Links&l_op=viewlink&cid=$1
    RewriteRule ^links-search-([a-zA-Z0-9]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) modules.php?name=Web_Links&l_op=search&query=$1&min=$2&orderby=$3&show=$4
    RewriteRule ^links-search-([a-zA-Z0-9_-]*)-orderby-([a-zA-Z]*).html modules.php?name=Web_Links&l_op=search&query=$1&orderby=$2
    RewriteRule ^links-search-([a-zA-Z0-9_-]*).html modules.php?name=Web_Links&l_op=search&query=$1
    RewriteRule ^links.html modules.php?name=Web_Links

    #Your_Account
    RewriteRule ^users/edit-user/ modules.php?name=Your_Account&op=edituser
    RewriteRule ^users/edit-home/ modules.php?name=Your_Account&op=edithome
    RewriteRule ^users/edit-comments/ modules.php?name=Your_Account&op=editcomm
    RewriteRule ^users/change-theme/ modules.php?name=Your_Account&op=chgtheme
    RewriteRule ^users/delete-user/ modules.php?name=Your_Account&op=delete
    RewriteRule ^users/logout/ modules.php?name=Your_Account&op=logout
    RewriteRule ^users/register/ modules.php?name=Your_Account&op=new_user
    RewriteRule ^users/recovery-password/ modules.php?name=Your_Account&op=pass_lost
    RewriteRule ^users/Show-Cookies-Redirect/ modules.php?name=Your_Account&op=ShowCookiesRedirect
    RewriteRule ^users/Show-Cookies/ modules.php?name=Your_Account&op=ShowCookies
    RewriteRule ^users/delete-user/([0-9]*)/([a-zA-Z0-9+_-]*)/ modules.php?name=Your_Account&op=deleteconfirm&uid=$1&code=$2
    RewriteRule ^users/change-deed/([0-9]*)/([0-9]*)/ modules.php?name=Your_Account&op=change_kerdar&user_id=$1&kerdar=$2
    RewriteRule ^users/theme-([a-zA-Z0-9+_-اآبپتثجچحخدذرزژسشصضطظعغفقكکگلمنوهيي]*)/ modules.php?name=Your_Account&theme=$1
    RewriteRule ^users/saved/ modules.php?name=Your_Account&op=saved
    RewriteRule ^users/stop/ modules.php?name=Your_Account&stop=1
    RewriteRule ^users/check-username/ modules.php?name=Your_Account&op=check_username
    RewriteRule ^users/check-email/ modules.php?name=Your_Account&op=check_email
    RewriteRule ^users/activate/([a-zA-Z0-9+_-]*)/([a-zA-Z0-9+_-]*)/ modules.php?name=Your_Account&op=activate&username=$1&check_num=$2
    RewriteRule ^users/avatarlist/ modules.php?name=Your_Account&op=avatarlist
    RewriteRule ^users/broadcast/ modules.php?name=Your_Account&op=broadcast
    RewriteRule ^users/changemail/ modules.php?name=Your_Account&op=changemail
    RewriteRule ^users/gfxadminimage/ modules.php?name=Your_Account&op=gfxadminimage
    RewriteRule ^users/gfx/ modules.php?name=Your_Account&op=gfx
    RewriteRule ^users/login/ modules.php?name=Your_Account&op=login
    RewriteRule ^users/mailpasswd/ modules.php?name=Your_Account&op=mailpasswd
    RewriteRule ^users/my_headlines/ modules.php?name=Your_Account&op=my_headlines
    RewriteRule ^users/DeleteCookies/ modules.php?name=Your_Account&op=DeleteCookies
    RewriteRule ^users/DeleteCookies2/ modules.php?name=Your_Account&op=DeleteCookies2
    RewriteRule ^users/([a-zA-Z0-9+_-]*)/ modules.php?name=Your_Account&op=userinfo&username=$1
    RewriteRule ^users/ modules.php?name=Your_Account
    RewriteRule ^users modules.php?name=Your_Account

    #RSS
    RewriteRule ^rss/top/ backend.php?t=top [L]
    RewriteRule ^rss/Categories/([0-9]*)-([^/]*)/ backend.php?t=topics&topicid=$1 [L]
    RewriteRule ^rss/ backend.php [L]
    RewriteRule ^rss backend.php [L]

    </IFModule> 

    کد PHP:
    <?php
    /************************************************************************/
    /* PHP-NUKE: Advanced Content Management System                         */
    /* ============================================                         */
    /*                                                                      */
    /* Copyright (c) 2006 by Francisco Burzi                                */
    /* http://phpnuke.org                                                   */
    /*                                                                      */
    /* This program is free software. You can redistribute it and/or modify */
    /* it under the terms of the GNU General Public License as published by */
    /* the Free Software Foundation; either version 2 of the License.       */
    /************************************************************************/

    @require_once("mainfile.php");
    global 
    $prefix$db$admin_file$gname;
    $mobile_browser '0';

    ///////////////////////////// Nuke mobile Version - Zero-F
    if(@preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone)/i',
        
    strtolower($_SERVER['HTTP_USER_AGENT']))){
        
    $mobile_browser++;
        }

    if((
    strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml')>0) or
        ((isset(
    $_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))){
        
    $mobile_browser++;
        }

    $mobile_ua strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4));
    $mobile_agents = array(
        
    'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
        
    'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
        
    'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
        
    'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
        
    'newt','noki','oper','palm','pana','pant','phil','play','port','prox',
        
    'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
        
    'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
        
    'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
        
    'wapr','webc','winw','winw','xda','xda-');

    if(
    in_array($mobile_ua,$mobile_agents)){
        
    $mobile_browser++;
        }
    if (
    strpos(strtolower($_SERVER['ALL_HTTP']),'OperaMini')>0) {
        
    $mobile_browser++;
        }
    if (
    strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'windows')>0) {
        
    $mobile_browser=0;
        }


    if(
    $mobile_browser>0){
       
    header('Location: avantgo.html');
       }
    ///////////////////////////// Nuke mobile Version - Zero-F

    if (isset($op) AND ($op == "ad_click") AND isset($bid)) {
        
    $bid intval($bid);
        
    $sql "SELECT clickurl FROM ".$prefix."_banner WHERE bid='$bid'";
        
    $result $db->sql_query($sql);
        list(
    $clickurl) = $db->sql_fetchrow($result);
        
    $clickurl filter($clickurl"nohtml");
        
    $db->sql_query("UPDATE ".$prefix."_banner SET clicks=clicks+1 WHERE bid='$bid'");
        
    update_points(21,'');
        
    Header("Location: ".addslashes($clickurl));
        die();
    }

    if(
    $gname == ""){
        if (
    file_exists('install/index.php')){
            
    header("location:install/index.php");
            exit;
        }
    }

    $modpath '';
    define('MODULE_FILE'true);
    $_SERVER['PHP_SELF'] = "modules.php";
    define('HOME_FILE'true);

    if (isset(
    $url) AND isset($_GET['url']) AND is_admin($admin)) {
        
    $url urldecode($url);
        echo 
    "<meta http-equiv=\"refresh\" content=\"0; url=$url\">";
        die();
    }

    if (
    $httpref == 1) {
        if (isset(
    $_SERVER['HTTP_REFERER'])) {
        
    $referer $_SERVER['HTTP_REFERER'];
        
    $referer check_html($referer"nohtml");
        if (@
    eregi("nuke_"$referer) && @eregi("into"$referer) && @eregi("from"$referer)) {
            
    $referer "";
        }
        }
        if (!empty(
    $referer) && !stripos_clone($referer"unknown") && !stripos_clone($referer"bookmark") && !stripos_clone($referer$_SERVER['HTTP_HOST'])) {
        
    $result $db->sql_query("INSERT INTO ".$prefix."_referer VALUES (NULL, '".addslashes($referer)."')");
        }
        
    $numrows $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_referer"));
        if(
    $numrows>=$httprefmax) {
            
    $result2 $db->sql_query("DELETE FROM ".$prefix."_referer");
        }
    }
    if (!isset(
    $mop)) { $mop="modload"; }
    if (!isset(
    $mod_file)) { $mod_file="index"; }
    $gname trim($gname);
    if (isset(
    $file)) { $file trim($file); }
    $mod_file trim($mod_file);
    $mop trim($mop);
    if (
    stripos_clone($gname,"..") || (isset($file) && stripos_clone($file,"..")) || stripos_clone($mod_file,"..") || stripos_clone($mop,"..")) {
        die(
    "You are so cool...");
    } else {
        
    $ThemeSel get_theme();
        if (
    file_exists("themes/$ThemeSel/module.php")) {
            @include(
    "themes/$ThemeSel/module.php");
            if (
    is_active("$default_module") AND file_exists("modules/$default_module/".$mod_file.".php")) {
                
    $gname $default_module;
            }
        }
        if (
    file_exists("themes/$ThemeSel/modules/$gname/".$mod_file.".php")) {
            
    $modpath "themes/$ThemeSel/";
        }
        
    $modpath .= "modules/$gname/".$mod_file.".php";

        if (
    file_exists($modpath)) {
            @include(
    $modpath);
        } else {
            
    define('INDEX_FILE'true);
            @include(
    "header.php");
            
    OpenTable();
            if (
    is_admin($admin)) {
                echo 
    "<center><font class=\"\"><b>"._HOMEPROBLEM."</b></font><br><br>[ <a href=\"".$admin_file.".php?op=modules\">"._ADDAHOME."</a> ]</center>";
            } else {
                echo 
    "<center>"._HOMEPROBLEMUSER."</center>";
            }
            
    CloseTable();
            @include(
    "footer.php");
        }
    }
    ?>

  2. # ADS




     

  3. #2
    عضو انجمن stchost آواتار ها
    تاریخ عضویت
    Dec 2009
    محل سکونت
    اصفهان
    نوشته ها
    243
    تشکر تشکر کرده 
    28
    تشکر تشکر شده 
    349
    تشکر شده در
    269 پست

    پیش فرض پاسخ : ریدایرکت

    سلام
    شما بهتره یک بار htaccess را تغییر نام بدید تا بدون این فایل هم تست کنید ببینید مشکل رفع میشه یا نه

  4. #3
    کاربر اخراج شده
    تاریخ عضویت
    Jun 2009
    محل سکونت
    تهران
    نوشته ها
    188
    تشکر تشکر کرده 
    201
    تشکر تشکر شده 
    407
    تشکر شده در
    269 پست

    پیش فرض پاسخ : ریدایرکت

    نقل قول نوشته اصلی توسط stchost نمایش پست ها
    سلام
    شما بهتره یک بار htaccess را تغییر نام بدید تا بدون این فایل هم تست کنید ببینید مشکل رفع میشه یا نه
    مشکل برطرف نشد

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •