2008-03-20, 12:06 AM
شكرا لك اخي
كود :
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName l7awma.com
AuthUserFile /home/mryoss4/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mryoss4/public_html/_vti_pvt/service.grp
# //seo_mod_start
# //seo_mod_start
RewriteEngine On
# Uncomment the following and add your forum path if rewrites arent working properly
RewriteBase /forum/
RewriteRule ^index.html$ index.php [L,NE]
RewriteRule ^(.*)t-([0-9]+).html(.*)$ showthread.php?tid=$2$3 [QSA,L]
RewriteRule ^(.*)t-([0-9]+)-([0-9]+).html$ showthread.php?tid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)f-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)f-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)f-([0-9]+)-([a-z]+)(-|-[a-z]+)-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&sortby=$3&order=$4&datecut=$5&page=$6$7 [L]
RewriteRule ^(.*)a-([0-9]+).html$ announcements.php?aid=$2 [L]
RewriteRule ^(.*)thread-([0-9]+).html(.*)$ showthread.php?tid=$2$3 [QSA,L]
RewriteRule ^(.*)thread-([0-9]+)-page-([0-9]+).html$ showthread.php?tid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)forum-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)forum-([0-9]+)-page-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)forum-([0-9]+)-([a-z]+)(-|-[a-z]+)-([0-9]+)-page-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&sortby=$3&order=$4&datecut=$5&page=$6$7 [L]
RewriteRule ^(.*)a-([0-9]+).html$ announcements.php?aid=$2 [L]
# //seo_mod_end
RewriteCond %{HTTP_HOST} ^l7awma.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.l7awma.com$
RewriteRule ^/?$ http://www.l7awma.com/forum [R=301,L]
...