|
|
#1 (permalink) |
|
:~: Untsah :~:
Comfy Contributor
Joined in Jun 2003
Lives in Canada, :eh:
Hosted on SH103
241 posts
Gave thanks: 0
Thanked 0 times
|
.htaccess help
Hey guys. I'm looking for a little .htaccess help.
ok I want to make sure that anytime anyone goes to pinnaclewow.com that it redirects to Pinnacle - The Llane Horde Guild so i'm using. Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^pinnaclewow.com [NC]
RewriteRule ^(.*)$ http://www.pinnaclewow.com/$1 [L,R=301]
Code:
RewriteCond %{HTTP_REFERER} !^http://pinnaclewow.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://pinnaclewow.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.pinnaclewow.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.pinnaclewow.com$ [NC]
RewriteRule .*\.(.*)$ - [F,NC]
<Files "filename here"> Order Allow,Deny Deny from All </Files> but when i roll that all together in the .htaccess i get 403'd??? I'm not sure what i'm doing wrong. could someone take a look and let me know what the file should look like. Thanks a lot.
__________________
Iron Circle ~ World of Warcraft Guild Page Email: Send Mail Here Server - SH103 ( Running Smooth )
|
|
|
|
|
|
#2 (permalink) |
|
URB4N 5K1LLZ
Super #1
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
|
Hopefully someone can answer this question for you, but until then, here is an alternate solution that you could try and get the same results.
Domain Redirection - In Cpanel you are able to setup a redirection of your domain to another domain. Hotlink Protection - In Cpanel, you can easily enable hotlink protection and even set some sites/links as exceptions, so they may hotlink/direct link files. |
|
|
|
|
|
#3 (permalink) |
|
:~: Untsah :~:
Comfy Contributor
Joined in Jun 2003
Lives in Canada, :eh:
Hosted on SH103
241 posts
Gave thanks: 0
Thanked 0 times
|
I have tried the cpanel methods, and (i think) because i'm using a customized/edited .htaccess cpanel errors ever time it tries to update it.
__________________
Iron Circle ~ World of Warcraft Guild Page Email: Send Mail Here Server - SH103 ( Running Smooth )
|
|
|
|
|
|
#4 (permalink) |
|
:~: Untsah :~:
Comfy Contributor
Joined in Jun 2003
Lives in Canada, :eh:
Hosted on SH103
241 posts
Gave thanks: 0
Thanked 0 times
|
as a side note i've also added this, as it looks like some ppl are using the pre NS changed server info to get to the site still.
Code:
RewriteCond %{HTTP_HOST} ^sh133.surpasshosting.com [NC]
RewriteRule ^(.*)$ http://www.pinnaclewow.com/$1 [L,R=301]
__________________
Iron Circle ~ World of Warcraft Guild Page Email: Send Mail Here Server - SH103 ( Running Smooth )
|
|
|
|
|
|
#6 (permalink) |
|
:~: Untsah :~:
Comfy Contributor
Joined in Jun 2003
Lives in Canada, :eh:
Hosted on SH103
241 posts
Gave thanks: 0
Thanked 0 times
|
As an update I have all the referrals working, and the file lockouts. it seems that the 403 check is thrown only after i add in the hotlinking prevention.
/grumble
__________________
Iron Circle ~ World of Warcraft Guild Page Email: Send Mail Here Server - SH103 ( Running Smooth )
|
|
|
|