|
|
|
|
|
|
|
![]() |
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
![]() |
#1 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
More info…
Lets look at the first part of mine, ErrorDocument 404 http://www.cleos-porn-links.com/ DirectoryIndex index.html index.php index.shtml index.htm RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.kinkycleo.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://kinkycleo.com*$ [NC] RewriteCond %{HTTP_REFERER} !^http://kinkycleo.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.kinkycleo.com*$ [NC] RewriteCond %{HTTP_REFERER} !^http://kinkycleo.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.kinkycleo.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://kinkycleo.com:80.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.kinkycleo.com:80.*$ [NC] This part defines my custom 404 page ErrorDocument 404 http://www.cleos-porn-links.com/ This line defines what is a valid index page in a folder DirectoryIndex index.html index.php index.shtml index.htm This line turns on the rewrite engine so that the rest of the code will work RewriteEngine on This line says allows a image to be served with no referral info like if they just typed the URL of a pic RewriteCond %{HTTP_REFERER} !^$ These lines define what is a good referral URL. I have them there 8 times because I do not use wild cards in my htaccess so I have to type every combo that is valid. I do not use wild cards because if you do all someone has to do to get around your htaccess is put their site inside of a folder named after your domain. RewriteCond %{HTTP_REFERER} !^http://www.kinkycleo.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://kinkycleo.com*$ [NC] RewriteCond %{HTTP_REFERER} !^http://kinkycleo.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.kinkycleo.com*$ [NC] RewriteCond %{HTTP_REFERER} !^http://kinkycleo.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.kinkycleo.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://kinkycleo.com:80.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.kinkycleo.com:80.*$ [NC] This is what file extensions it should examine in the rewiteCond and where they should be sent if false. RewriteRule [Ss][Ww][Ff]$|[Jj][Pp][Ee]*[Gg]|[Gg][Ii][Ff]$ http://cleo-says-fuck-you.com/ [R,L] |
![]() |
![]() |
![]() |
|
|