Hosts File and Abyss

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
kev1952
-


Joined: 08 Sep 2005
Posts: 105
Location: Townsville Australia

PostPosted: Thu Sep 08, 2005 2:07 am    Post subject: Hosts File and Abyss Reply with quote

I did search for this but found no info. I have just installed Abyss (had it before but have just set it up again) and I have a conflict with my HOSTS file. If I click on a link while surfing and it is blocked by the HOSTS file I get redirected to the local server and get a lovely view of my own website. Is there a way around this or is it a case of Abyss server and no HOSTS file or HOSTS file but no server?
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Sep 08, 2005 4:15 pm    Post subject: Re: Hosts File and Abyss Reply with quote

kev1952,

Hosts file is not used by Abyss Web Server. It is rather used by your browser to know what IP to use for a domain name.
Can you please post here your hosts file contents and tell us in what way is there a conflict?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Thu Sep 08, 2005 6:39 pm    Post subject: Reply with quote

Aprelium, one method of ad blocking is to simply list all servers which serve up banners in the hosts file as 127.0.0.1 - rerouting all browser traffic which would normally be loading up an advert to localhost (which normally would not have a browser running)

http://www.everythingisnt.com/hosts.html

kev1952 - why not redirect the hosts to some other unused IP. I believe you can replace them with 0.0.0.0 instead of 127.0.0.1 and still block ads but without accessing localhost everytime...

If 0.0.0.0 causes problems, use a dummy IP of a non existant machine on your LAN.
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
kev1952
-


Joined: 08 Sep 2005
Posts: 105
Location: Townsville Australia

PostPosted: Thu Sep 08, 2005 10:16 pm    Post subject: Reply with quote

Thanks. I found out this morning that it is only a problem if I click on a link that is listed in the HOSTS file. It has no problem as far as blocking an indirect link. Will leave it as is for now and see how it goes. Thanks for the input.
Back to top View user's profile Send private message Send e-mail Visit poster's website
kev1952
-


Joined: 08 Sep 2005
Posts: 105
Location: Townsville Australia

PostPosted: Fri Sep 09, 2005 10:46 am    Post subject: Reply with quote

The problem re-occured so I took Anonymoose' advice and changed the redirect to 0.0.0.0 and that seems to have solved the problem. I did think of doing that before but wasn't sure it would work. Thanks again folks!
Back to top View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group