|
|
|
|
|
|
![]() |
#1 |
I'm the only guy in the world who has to wake up to have a nightmare
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 |
![]() |
![]() |
![]() |
#2 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$
You need to do something with it here. RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ - [F,L] at a minimum RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.domaintogoto.com/ [R,L] if you wanted to redirect it
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#3 |
I'm the only guy in the world who has to wake up to have a nightmare
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
|
Hi cd34,
I actually posted slightly wrong above, but still without the rule tou just pointed out. Have uploaded this one but it's still doing the same thing? RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?porn-xxx-porn.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?porn-xxx-porn.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]$ RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.porn-xxx-porn.com/ [R,L] 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 |
![]() |
![]() |
![]() |
#4 |
I'm the only guy in the world who has to wake up to have a nightmare
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
|
OK I see the duplicate
![]() |
![]() |
![]() |
![]() |
#5 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
take this:
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.porn-xxx-porn.com/ [R,L] make it this: RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.porn-xxx-porn.com/ [R,L]
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#6 |
I'm the only guy in the world who has to wake up to have a nightmare
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
|
Solved
![]() Thanks Sparky |shake |
![]() |
![]() |
![]() |
|
|