Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2005-06-13, 10:19 AM   #1
Jel
I'm the only guy in the world who has to wake up to have a nightmare
 
Jel's Avatar
 
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
Internal 500 error

Getting a 500 error when going to aites of mine without the trailing / attached to the end of the url and am a bit confused. Just got a new domain and swapped my old ht access in to this domain, changing the domain name and IP numbers and that's what's causing it I think, as when I delete the htaccess it works OK.

Anyone able to tell me where I'm going wrong on this lot?

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?rogers-sexsaurus.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?rogers-sexsaurus.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://66.154.65.170.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://66.154.65.170.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?google.com.*$ [NC]
RewriteCond %{REMOTE_ADDR} !^64.x.x.x\..*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?Googlebot-Image*$ [NC]


RewriteCond %{HTTP_REFERER} !^http://216.239.57.104*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.239.57.104/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.239.57.104:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.239.57.104:80.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.alexa.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://alexa.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://alexa.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.alexa.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://alexa.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.alexa.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://alexa.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.alexa.com:80.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.images.google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.google.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.google.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.google.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.google.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.google.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.google.com:80.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com:80.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.images.search.yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.search.yahoo.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.search.yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.search.yahoo.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.search.yahoo.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.search.yahoo.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.search.yahoo.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.search.yahoo.com:80.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yahoo.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yahoo.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yahoo.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yahoo.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yahoo.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yahoo.com:80.*$ [NC]

RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$



RewriteEngine on
RewriteCond %{REMOTE_ADDR} ^219\.129\.21\.137$
RewriteRule .* http://www.porn-xxx-porn.com/index.html [R,L]


RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html





ErrorDocument 400 http://www.porn-xxx-porn.com
ErrorDocument 401 http://www.porn-xxx-porn.com
ErrorDocument 403 http://www.porn-xxx-porn.com
ErrorDocument 404 http://www.porn-xxx-porn.com
ErrorDocument 501 http://www.porn-xxx-porn.com
ErrorDocument 502 http://www.porn-xxx-porn.com
ErrorDocument 503 http://www.porn-xxx-porn.com
Jel is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:42 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc