PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : کد جلوگیری از bad_bot و spider توسط .htaccess



Vito
08-10-2007, 08:12 PM
کد زیر رو در فایل .htaccess زیر کدی که جناب فیروزمندان برای جلوگیری ارائه دادن قرار بدید:

SetEnvIfNoCase user-agent "^Accoona" bad_bot
SetEnvIfNoCase user-agent "^BlackWidow" bad_bot
SetEnvIfNoCase user-agent "^Bot\ mailto:craftbot@yahoo.com" bad_bot
SetEnvIfNoCase user-agent "^ChinaClaw" bad_bot
SetEnvIfNoCase user-agent "^ConveraCrawler" bad_bot
SetEnvIfNoCase user-agent "^Curl" bad_bot
SetEnvIfNoCase user-agent "^Custo" bad_bot
SetEnvIfNoCase user-agent "^DISCo" bad_bot
SetEnvIfNoCase user-agent "^Download\ Demon" bad_bot
SetEnvIfNoCase user-agent "^eCatch" bad_bot
SetEnvIfNoCase user-agent "^EchO" bad_bot
SetEnvIfNoCase user-agent "^EirGrabber" bad_bot
SetEnvIfNoCase user-agent "^EmailSiphon" bad_bot
SetEnvIfNoCase user-agent "^EmailWolf" bad_bot
SetEnvIfNoCase user-agent "^Exabot" bad_bot
SetEnvIfNoCase user-agent "^Express\ WebPictures" bad_bot
SetEnvIfNoCase user-agent "^ExtractorPro" bad_bot
SetEnvIfNoCase user-agent "^EyeNetIE" bad_bot
SetEnvIfNoCase user-agent "^FAST" bad_bot
SetEnvIfNoCase user-agent "^FlashGet" bad_bot
SetEnvIfNoCase user-agent "^FrontPage" bad_bot
SetEnvIfNoCase user-agent "^GetRight" bad_bot
SetEnvIfNoCase user-agent "^GetWeb!" bad_bot
SetEnvIfNoCase user-agent "^Gigabot" bad_bot
SetEnvIfNoCase user-agent "^Go!Zilla" bad_bot
SetEnvIfNoCase user-agent "^Go-Ahead-Got-It" bad_bot
SetEnvIfNoCase user-agent "^GrabNet" bad_bot
SetEnvIfNoCase user-agent "^Grafula" bad_bot
SetEnvIfNoCase user-agent "^Harvest" bad_bot
SetEnvIfNoCase user-agent "^HMView" bad_bot
SetEnvIfNoCase user-agent &quot;^<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^HTTrack&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ia_archiver&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Image\ Stripper&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Image\ Sucker&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Indy\ Library&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^InterGET&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Internet\ Ninja&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^JetCar&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^JOC\ Web\ Spider&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^lib<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^LinkWalker&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^larbin&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Mass\ Downloader&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Microsoft\ URL\ Control&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^MIDown\ tool&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Mister\ PiX&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Navroad&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^NearSite&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^NetAnts&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^NetSpider&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Net\ Vampire&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^NetZIP&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Nokia&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Nokia6230i&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Octopus&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Offline\ Explorer&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Offline\ Navigator&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^PageGrabber&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^page_verifier&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Papa\ Foto&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^pavuk&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^pcBrowser&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^RealDownload&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ReGet&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^schibstedsokbot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ShopWiki&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^SiteSnagger&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^SmartDownload&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^SMBot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^sogou&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Sphere&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Strategic\ Board\ Bot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^studybot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^SuperBot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Super<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^Surfbot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^tAkeOut&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Teleport\ Pro&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Voila&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^VoidEYE&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Voyager&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WasaBot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Web\ Image\ Collector&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Web\ Sucker&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebAuto&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebCopier&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebFetch&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebGo\ IS&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebLeacher&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebReaper&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebSauger&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Website\ eXtractor&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Website\ Quester&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebStripper&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebWhacker&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebZIP&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Wget&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Widow&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WISENutbot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^Xaldon\ WebSpider&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^YodaoBot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Zeus&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ZyBorg&quot; bad_bot


&lt;Limit GET POST&gt;
Order Allow,Deny
Allow from all
Deny from env=bad_bot
&lt;/Limit&gt;

موفق باشید

نوید
08-10-2007, 08:30 PM
اینم یک راه کاملتر و حرفه ای تر :
Protect Your Web Server From Bad Robots (<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>)

Vito
08-13-2007, 01:43 PM
دوستان توجه داشته باشید که حتی اگه هیچکدوم از bot های بالا رو block نکردید, این bot رو حتما حتما حتما block کنید, چونکه تو این چند وقت اخیر خیلی از سایتها توسط این bot هک شدن:

SetEnvIfNoCase user-agent &quot;^lib<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot

&lt;Limit GET POST&gt;
Order Allow,Deny
Allow from all
Deny from env=bad_bot
&lt;/Limit&gt;

Vito
08-13-2007, 02:07 PM
نوید جان, این خیلی روش جالبیه, میخوام امروز رو یکی از سایتام حتما امتحان کنم

sorry4uboth
08-13-2007, 02:25 PM
برای اینکه بخواید راه نوید رو امتحان کنید باید حداقل یه سرور داشته باشید با دسترسی VPS!

hossein.shokrzadeh
08-13-2007, 08:38 PM
سلام
ميشه يه مقدار راجع به اين Bot ها و ... توضيح بديد ؟ :) گرچه با سرچ تو اينترنت ميشه چيزاي خوبي پيدا كرد
ولي اگر اينجا باشه، بچه ها هم تاييد ميكنند، آدم خيالش راحت تره
مرسي، يا علي

sorry4uboth
08-13-2007, 09:37 PM
این bot ها اطلاعات سایت شما رو جمع آوری میکنند

هر کسی که هک رو بدونه چی هست این رو قبول داره که 70% یک پروسه هک جمع آوری اطلاعات هست.

در مقالاتم همیشه این جمله رو از آبراهام لینکن نقل کردم که :
&quot;چنانچه نیاز باشد درختی را در مدت 6 ساعت قطع کنم 4 ساعت نخست آن را صرف تیز کردن تبرم خواهم کرد&quot;

Vito
08-14-2007, 04:31 PM
بله, همونجوری که جناب محمد توضیح دادن bot ها یا در واقع همون Robot ها برنامه هایی هستن که بصورت اتوماتیک روی اینترنت اجرا میشن و میتونن برای اهداف خوب و بد استفاده بشن, من یه توضیح کوچیک راجع به هر دو حالت میدم:

** bot های خوب **
بهترین مثال موتورهای جستجو هستن مثل گوگل که اطلاعات سایتها رو جمع اوری میکنه و در database خودش ذخیره میکنه و از اون اطلاعات برای فرستادن بازدید کننده به همون سایتها استفاده میکنه .
اگه نگاهی به log file سایتتون بندازید میبینید که تا به حال چه bot یا spider هایی از سایتتون بازدید کردن.

** bot های بد **
معمولا این bot ها این اهداف رو دنبال میکنن:
- مسدود کردن سطح دسترسی Robot های خوبی که شما در سایتهاتون قرار میدید
- تغییر هویت کاربری بصورت یک bot قانونی و مجاز ( اصطلاحا Spoofing )
- تغییر IP Address خودشون بصورت روزمره برای جلوگیری از کشف شدن
- دانلود کردن کامل وب سایت و اطلاعاتش و فرستادنش به شخص مورد نظر که میتونه باعث کاهش سرعت سایت در حد بالا بشه
- جمع اوری اطلاعات سایت و ادرسهای ایمیل و فروش اون بدون اجازه صاحب سایت ( اصطاحا plagiarism )
- اسپم بارون کردن دفترچه های مهمان

این bot ها میتونن از کشورهای مختلفی بیان که اکثرشون از چین هست, برای اطلاعات کاملتر در مورد اجازه دادن یا جلوگیری کردن از Robot ها این سایت رو ببینید:

<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
این bad_bot ها مثل Virus ها هر روز به تعدادشون اضافه میشه و بعضی هاشون میتونن واقعا مخرب باشن, مثل &quot;^lib<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> که ازش الانه بیشتر برای هک کردن سایتهای مامبو و جوملا استفاده میشه.
پیشنهاد من اینه که قسمتی رو در انجمن اختصاص بدیم برای همیشه Up-todate نگه داشتن فایل .htaccess .... اینجوری میتونیم اصطلاحا علاج واقعه قبل از وقوع بکنیم, خیلی دوست دارم که نظر دوستان و مدیران محترم رو بدونم.

موفق باشید

bayan
08-14-2007, 08:10 PM
آقا این کدها رو تو .htaccess توس پوشه ی مامبو باید وارد کنیم؟

من توی htaccess پوشه ی public_html گذاشتم کل سایت خوابید یعنی تمام پوشه ها (حتی پوشه ی اصلی یعنی www ) باز نمیشد و ارور 403 forbidden رو میزد یعنی شما اجازه ی دیدن این پوشه رو ندارین.

Vito
08-14-2007, 08:28 PM
Bayan جان توی فایل .htaccess بعد از کد جلوگیری از Exploit یک خط فاصله بذار بعدش کد هارو وارد کن مثل این مثل:

########## Begin - Rewrite rules to block out some common exploits
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a &lt;script&gt; tag in URL
RewriteCond %{QUERY_STRING} (\&lt;|%3C).*script.*(\&gt;|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

SetEnvIfNoCase user-agent &quot;^Accoona&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^BlackWidow&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Bot\ mailto:craftbot@yahoo.com&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ChinaClaw&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ConveraCrawler&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Curl&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Custo&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^DISCo&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Download\ Demon&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^eCatch&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^EchO&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^EirGrabber&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^EmailSiphon&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^EmailWolf&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Exabot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Express\ WebPictures&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ExtractorPro&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^EyeNetIE&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^FAST&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^FlashGet&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^FrontPage&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^GetRight&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^GetWeb!&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Gigabot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Go!Zilla&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Go-Ahead-Got-It&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^GrabNet&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Grafula&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Harvest&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^HMView&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^HTTrack&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ia_archiver&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Image\ Stripper&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Image\ Sucker&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Indy\ Library&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^InterGET&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Internet\ Ninja&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^JetCar&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^JOC\ Web\ Spider&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^lib<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^LinkWalker&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^larbin&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Mass\ Downloader&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Microsoft\ URL\ Control&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^MIDown\ tool&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Mister\ PiX&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Navroad&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^NearSite&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^NetAnts&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^NetSpider&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Net\ Vampire&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^NetZIP&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Nokia&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Nokia6230i&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Octopus&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Offline\ Explorer&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Offline\ Navigator&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^PageGrabber&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^page_verifier&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Papa\ Foto&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^pavuk&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^pcBrowser&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^RealDownload&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ReGet&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^schibstedsokbot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ShopWiki&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^SiteSnagger&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^SmartDownload&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^SMBot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^sogou&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Sphere&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Strategic\ Board\ Bot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^studybot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^SuperBot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Super<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^Surfbot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^tAkeOut&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Teleport\ Pro&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Voila&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^VoidEYE&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Voyager&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WasaBot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Web\ Image\ Collector&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Web\ Sucker&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebAuto&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebCopier&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebFetch&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebGo\ IS&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebLeacher&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebReaper&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebSauger&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Website\ eXtractor&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Website\ Quester&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebStripper&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebWhacker&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WebZIP&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Wget&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Widow&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^WISENutbot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> bad_bot
SetEnvIfNoCase user-agent &quot;^Xaldon\ WebSpider&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^YodaoBot&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^Zeus&quot; bad_bot
SetEnvIfNoCase user-agent &quot;^ZyBorg&quot; bad_bot


&lt;Limit GET POST&gt;
Order Allow,Deny
Allow from all
Deny from env=bad_bot
&lt;/Limit&gt;

bayan
08-15-2007, 03:17 AM
من همینطوری که شما گفتی گذاشتم توی .htaccess توی پوشه ی public_html بازم همون مشکل....

این اروریه که میده : ( حتی وقتی میخوای صفحه اول سایتو باز کنی )


Forbidden
You don&#039;t have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Vito
08-15-2007, 01:38 PM
شما مامبو رو کجا نصب کردی? این کد رو باید تو فایل .htaccess که در کنار بقیه فایلهای مامبو هست قرار بدی, اگر همه این کارهارو درست انجام دادی, یه کپی از فایل .htaccess رو تو pm برام بفرست.

bayan
08-18-2007, 06:04 PM
َمنظورت htaccess.txt در پوشه ي مامبو هست؟

نوید
08-20-2007, 07:26 AM
َمنظورت htaccess.txt در پوشه ي مامبو هست؟

بله