Prijava na forum:
Ime:
Lozinka:
Prijavi me trajno:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:

ConQUIZtador
Trenutno vreme je: 23. Jul 2025, 15:39:23
nazadnapred
Korisnici koji su trenutno na forumu 0 članova i 0 gostiju pregledaju ovu temu.

 Napomena: Za sva pitanja u vezi kupovine novog hardware-a ili procene vrednosti i preporuke koristite - ovu temu

Spyware,sta je,kako radi,kako se zastititi? :: Kako rade mreze :: Burek Anti-virus software review :: Index tema koje ne treba propustiti

Idi dole
Stranice:
Počni novu temu Nova anketa Odgovor Štampaj Dodaj temu u favorite Pogledajte svoje poruke u temi
Tema: Redirekcija  (Pročitano 1254 puta)
27. Okt 2010, 13:34:57
Hronicar svakodnevice


Zodijak
Pol Muškarac
Poruke 580
Zastava
OS
Windows XP
Browser
Chrome 7.0.517.41
mob
HTC Sensation
Da li je moguce napraviti redirekciju u windowsu koja bi redirekovala na sajt koji ja hocu svaki put kada se ukuca odredjeni sajt?
npr.
Kada neko ukuca www.burek.com da ga automatski redirektuje na www.google.com.
Dok bi ostale sajtove otvarao normalno.
IP sačuvana
social share
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Svakodnevni prolaznik

Zodijak Scorpio
Pol Muškarac
Poruke 330
Zastava
OS
Windows 7
Browser
Chrome 7.0.517.41
mob
Nokia 5800 XM
Je li ti to treba samo sa tog racunara ili bilo ko gdje da ukuca ?
IP sačuvana
social share
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Prijatelj foruma
Legenda foruma

You'll never see me fall from grace

Zodijak
Pol Muškarac
Poruke 48490
OS
Windows XP
Browser
Opera 10.63
Citat
Blocking a website:

It basically involves editing a file named “hosts” and located at C:\Windows\System32\Drivers\etc\
Go to that directory using Explorer and start editing the hosts file with notepad. Alternatively, go to command prompt and type edit C:\Windows\System32\Drivers\etc\hosts. Once you have opened the file for editing, you will see some comments (the lines that start with #). The comments are followed by a line (usually) reading

127.0.0.1 [tab] localhost.

The line specifies that the address localhost has to be mapped to the IP 127.0.0.1, which is, well the local host ie the computer that you are using.

Now to block a particular website (say, yahoo.com), just add the following lines to the hosts file :

127.0.0.1 yahoo.com


127.0.0.1 www.yahoo.com

(make sure that the IP and  name are separate by at least a single space. Tab is preferable.)

The above two lines will make it impossible for you to view yahoo.com. What you have done is that you have specified yahoo.com (and www.yahoo.com) to be the web page delivered by the server at 127.0.0.1 - which is your computer and since it is not serving anything (normally,that is),  you get connection error. The website is effectively blocked. You can add as many lines as you wish to block any number of sites. Remove these entries to make the sites viewable again. Sometimes the effect is not seen until you restart your system.

Redirecting website:

This follows from the previous explanation. Instead of the 127.0.0.1, you can give the IP address of the webpage to which you want the original site to be redirected to. To get the IP of the page to which you want to redirect, go to command prompt and type

ping google.com

(if you want to redirect to google.com). You get the IP like- 74.125.67.100

Now, add the following lines to the hosts file

74.125.67.100 yahoo.com


74.125.67.100 www.yahoo.com

You will see that yahoo.com is redirtected to google.com

You use this to pull a prank on your friends or any other purpose you deem useful to you! Happy surfing!

IP sačuvana
social share

It's all a fucking joke anyway


       Tim: You never say please. You never say thank you.
Frank: Please don't be an idiot. Thank you.
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Moderator
Svedok stvaranja istorije


necu da ti kazem, chelavi...

Zodijak Libra
Pol Muškarac
Poruke 22020
Zastava La45.2590  Lo19.8330
OS
Windows 7
Browser
Mozilla Firefox 3.6.11
mob
Apple iPhone 12, S21
mozes samo da blokiras pojedine sajtove, ako je poenta da ne idu preko tog racunara na odredjene...
imas gore u postu onjasnjenje i kako to uraditi pomocu Hosts fajla...
« Poslednja izmena: 27. Okt 2010, 16:13:48 od chelavi1 »
IP sačuvana
social share
- A robot may not injure a human being or, through inaction, allow a human being to come to harm
- A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law
- A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Hronicar svakodnevice


Zodijak
Pol Muškarac
Poruke 580
Zastava
OS
Windows XP
Browser
Chrome 7.0.517.41
mob
HTC Sensation
Znao sam to sa hostom ali necu da blokiram pristup sajtu vec da samo redirektujem posete odrejdenim sajtovima na druge sajtove.
IP sačuvana
social share
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Prijatelj foruma
Legenda foruma

You'll never see me fall from grace

Zodijak
Pol Muškarac
Poruke 48490
OS
Windows XP
Browser
Opera 10.63
Citat
Redirecting website:

This follows from the previous explanation. Instead of the 127.0.0.1, you can give the IP address of the webpage to which you want the original site to be redirected to. To get the IP of the page to which you want to redirect, go to command prompt and type

ping google.com

(if you want to redirect to google.com). You get the IP like- 74.125.67.100

Now, add the following lines to the hosts file

74.125.67.100 yahoo.com


74.125.67.100 www.yahoo.com

You will see that yahoo.com is redirtected to google.com

You use this to pull a prank on your friends or any other purpose you deem useful to you! Happy surfing!
IP sačuvana
social share

It's all a fucking joke anyway


       Tim: You never say please. You never say thank you.
Frank: Please don't be an idiot. Thank you.
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Veteran foruma
Svedok stvaranja istorije

Sea shepherd

Zodijak
Pol
Poruke 23472
Zastava
OS
Windows 7
Browser
Mozilla Firefox 3.6.11
Znao sam to sa hostom ali necu da blokiram pristup sajtu vec da samo redirektujem posete odrejdenim sajtovima na druge sajtove.
Pa to je to. U host file-u vezes ip adresu googla za burek.com.
Tako da kada kucas burek.com dobijas google.com.
IP sačuvana
social share
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Hronicar svakodnevice


Zodijak
Pol Muškarac
Poruke 580
Zastava
OS
Windows XP
Browser
Chrome 7.0.517.41
mob
HTC Sensation
Ok, nisam to primetio. Hvala  Smile
IP sačuvana
social share
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Idi gore
Stranice:
Počni novu temu Nova anketa Odgovor Štampaj Dodaj temu u favorite Pogledajte svoje poruke u temi
Trenutno vreme je: 23. Jul 2025, 15:39:23
nazadnapred
Prebaci se na:  

Poslednji odgovor u temi napisan je pre više od 6 meseci.  

Temu ne bi trebalo "iskopavati" osim u slučaju da imate nešto važno da dodate. Ako ipak želite napisati komentar, kliknite na dugme "Odgovori" u meniju iznad ove poruke. Postoje teme kod kojih su odgovori dobrodošli bez obzira na to koliko je vremena od prošlog prošlo. Npr. teme o određenom piscu, knjizi, muzičaru, glumcu i sl. Nemojte da vas ovaj spisak ograničava, ali nemojte ni pisati na teme koje su završena priča.

web design

Forum Info: Banneri Foruma :: Burek Toolbar :: Burek Prodavnica :: Burek Quiz :: Najcesca pitanja :: Tim Foruma :: Prijava zloupotrebe

Izvori vesti: Blic :: Wikipedia :: Mondo :: Press :: Naša mreža :: Sportska Centrala :: Glas Javnosti :: Kurir :: Mikro :: B92 Sport :: RTS :: Danas

Prijatelji foruma: Triviador :: Nova godina Beograd :: nova godina restorani :: FTW.rs :: MojaPijaca :: Pojacalo :: 011info :: Burgos :: Sudski tumač Novi Beograd

Pravne Informacije: Pravilnik Foruma :: Politika privatnosti :: Uslovi koriscenja :: O nama :: Marketing :: Kontakt :: Sitemap

All content on this website is property of "Burek.com" and, as such, they may not be used on other websites without written permission.

Copyright © 2002- "Burek.com", all rights reserved. Performance: 0.14 sec za 18 q. Powered by: SMF. © 2005, Simple Machines LLC.