|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
I am nervous about going into my htaccess and changing things. I have a list of country ip codes from here http://www.countryipblocks.net/continents/ and I want to keep all people outside the USA out. I only want people who are in the United States of America to be able to visit this site. how and were do I put the info? Here is my htaccess I just copy and pasted it in here so you can show me where to add the code: # Comment the following line (add '#' at the beginning) # to disable mod_rewrite functions. # Please note: you still need to disable the hack in # the vBSEO control panel to stop url rewrites. RewriteEngine On # Some servers require the Rewritebase directive to be # enabled (remove '#' at the beginning to activate) # Please note: when enabled* you must include the path # to your root vB folder (i.e. RewriteBase /forums/) #RewriteBase / #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L*R=301] RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap) RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L*QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php [L*QSA] __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Forum vbSEO, VB4.02 and .htaccess and htaccess.txt | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 03-06-2010 12:50 AM |
Block Spam* Preventing URL Injection And Block HTTP Attacks With mod_dnsblacklist | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 12-09-2009 02:50 AM |
How to add IP block to htaccess? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 10-17-2009 02:20 AM |
طلب كود .htaccess | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 07-29-2009 06:50 PM |
.htaccess File | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 05-04-2009 10:30 PM |