icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old March 10th, 2004, 1:58 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2004
Hosted on Dior
9 posts
Gave thanks: 0
Thanked 0 times
hotlink protection question

I would like to know, if there was a more easy way to allow a site that uses multiple servers.

In example, if someone wanted to allow images on my page, but, www.aoibara.net was only the main page, and the content was on, in example rose.aoibara.net, petal.aoibara.net and bloom.aoibara.net..

Could they just put in, maybe *.aoibara.net and have it allow all of them? Or must I try and find every server this page uses? :beh:
DigitalBlue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 10th, 2004, 2:21 PM   #2 (permalink)
sam
Surpass Fan
Super #1
 
sam's Avatar
 
Joined in Dec 2003
Lives in NJ
5,057 posts
Gave thanks: 0
Thanked 4 times
hi digital blue, can you clarify a bit please?

i need to know if the scenario is

aoibara.net has hotlinking enabled and you want to make sure the subdomains like bloom.aoibara.net can use images from aoibara.net?

OR

aoibara.net wants to use images where hotlinking has been enabled on other servers. like a 3rd party, just for an example, cnn.com

OR

I'm way off base and there is a third possibility.

Please clarify.
sam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 10th, 2004, 2:25 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2004
Hosted on Dior
9 posts
Gave thanks: 0
Thanked 0 times
lol. Let me explain.

I post on www.go-gaia.com, a message board/game type thing.

I want to be able to hotlink my own signature images, and things to go into my signature.

The main page is on go-gaia.com, but the message boards, and content are on a dozen or more servers. So, as you post, you might start out on ian.go-gaia.com, but end up on gino.go-gaia.com after you post. And, since there are so many, I was wondering if I could put in a "wild card", and allow all servers. Without having to find all of them, and add them all.

is that more clear?
DigitalBlue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 10th, 2004, 2:39 PM   #4 (permalink)
sam
Surpass Fan
Super #1
 
sam's Avatar
 
Joined in Dec 2003
Lives in NJ
5,057 posts
Gave thanks: 0
Thanked 4 times
now, that DigitalBlue, is beyond crystal clear. it's all making sense. i didn't drink enough coffee. thanks for clarifying.

i'm thinking, and drinking....
sam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 10th, 2004, 3:42 PM   #5 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2004
Hosted on Dior
9 posts
Gave thanks: 0
Thanked 0 times
I wonder, is it safe to think and drink at the same time? :p
DigitalBlue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 10th, 2004, 5:03 PM   #6 (permalink)
the one who was
Super #1
 
patrickb's Avatar
 
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
Yes, the wildcards should work just fine.
__________________
Patrick

Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org
patrickb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 10th, 2004, 7:11 PM   #7 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2004
Hosted on Dior
9 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by patrickb
Yes, the wildcards should work just fine.
What *is* the wild card, though?

I put in http://*.go-gaia.com, and it didn't work.
DigitalBlue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 10th, 2004, 9:25 PM   #8 (permalink)
the one who was
Super #1
 
patrickb's Avatar
 
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
Check it now. I changed your .htaccess file and it should be working for you.

The actual wildcard is .*, but because of the way Cpanel hotlink protection works, it can't add this correctly. You have to manually edit the .htaccess for your site for it to work.

I also cleaned up all those extra entries that had the $$$'s on them.
__________________
Patrick

Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org
patrickb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 11th, 2004, 9:36 AM   #9 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2004
Hosted on Dior
9 posts
Gave thanks: 0
Thanked 0 times
Hey, thanks! You're a life saver!
DigitalBlue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On