Url

  • Thread starter Thread starter imuaplease
  • Start date Start date
hi,

I assume your talking about http.

I'd like to detect the same url entered
for example
www.abc.com
www.abc.com/index.html
www.abc.com/
While the first and the third are the same (a host), the second is not
equal to the others (a document on that host).
All those urls result in the same page
This is generally not true, as it depends on the configuration of the
server.
But I don't know how to prevent such a similarity
You can't. We can't either as you don't have told us what you are really
doing (code!) and what your goal is.

btw, your question sounds like "my internet's not working...". You
should really start with a book about TCP/IP and the protocols above. Or
the real bible here:

http://www.amazon.com/Computer-Networks-Andrew-S-Tanenbaum/dp/0133499456


mfG
--> stefan <--
 
Back
Top