SlideShare a Scribd company logo
1 of 17
Web Technologies
Uniform Resource Locators (URLs)
http://news.bbc.co.uk/1/hi/education/5341426.stm
URL Defined
• A Uniform Resource Locator (URL) is
a standard way developed to specify the
location of a resource available
electronically.
RFC 1738
Web Technologies
Web Technologies
What are URLs?
• URLs make it possible to direct both people
and software applications to a variety of
information, available from a number of
different Internet protocols.
• A URL is like your complete mailing address:
it specifies all the information necessary for
someone to address an envelope to you.
John Brown
12 Stoke Road
Stoke-on-Trent
ST4 2DG
Web Technologies
What are URLs? (contd.)
• In short, a URL is a very convenient and
succinct way to direct people to a file or other
electronic resource.
• Learning how to interpret, use and construct
URLs will assist your exploration of the
Internet.
Web Technologies
General URL syntax
<scheme>:<scheme-dependent-information>
Scheme examples:
– http
– ftp
– news
– gopher
Web Technologies
Scheme
<scheme>:<scheme-dependent-information>
– Tells you what type of resource we are trying to
reach and/or what mechanism to use to obtain it.
– Examples:
– http (Hyper Text Transfer Protocol)
– ftp (File Transfer Protocol)
– news (News protocol)
Web Technologies
Scheme Dependent Information
<scheme>:<scheme-dependent-information>
– This information is detailed with each scheme
– Most schemes include the:
– Machine making the file available
– "Path" to that file
– Example (for HTTP):
http://www.7sport.net/7sport/index.htm
Machine Path
Scheme
Web Technologies
URL Example (explained)
http://www.7sport.net/7sport/index.htm
Machine Path
Scheme
• http is the scheme
hyper text transfer protocol
• two slashes (//) separate the scheme from the
machine/domain name
• www.7sport.net is the machine/domain name
• single slash (/) separates the name from the path
• Finally 7sport/index.htm is the path.
Web Technologies
URL Example (explained)
http://www.7sport.net/7sport/
Machine Path
Scheme
• sometimes the path will end in a slash (/)
• this indicates that the URL is not pointing to a
specific file
• in this case the server returns the "default" page
– homepage.html
– home.html
– welcome.html
– default.html
Web Technologies
HTTP & FTP General Formats
scheme://machine.domain/full-path-of-file
– Examples:
– http://www.w3schools.com/html/html_forms.asp
(Hyper Text Transfer Protocol)
– ftp://garbo.uwasa.fi/pc/doc-net/
(File Transfer Protocol)
Web Technologies
HTTP URL Example (explained)
http://www.w3schools.com/html/html_forms.asp
Machine/Domain Name Path
Scheme
• http is the scheme
hyper text transfer protocol
• two slashes (//) separate the scheme from the
machine/domain name
• www.w3schools.com is the machine/domain name
• single slash (/) separates the name from the path
• Finally html/html_forms.asp is the path.
Web Technologies
FTP URL Example (explained)
ftp://garbo.uwasa.fi/pc/doc-net/
Machine Path
Scheme
• ftp is the scheme
file transfer protocol
• two slashes (//) separate the scheme from the
machine/domain name
• garbo.uwasa.fi is the machine/domain name
• single slash (/) separates the name from the path
• Finally pc/doc-net is the path.
Web Technologies
Using URLs
• You can double click on a URL (link) and if
your system is configured properly the
appropriate application will be launched to
obtain the resource.
• You can also copy the URL and paste it into
the application which you use to get to the
resource.
Web Technologies
Troubleshooting URLs
Reasons for not being able to access URLs:
– the remote machine refuses the connection
– the site is very busy (e.g. peak hours of use)
– you have misspelled the URL
– the file was moved
– if all else fails you can try looking up the
hierarchy by sequentially removing the file
name first, and then the last directory in the
path.
Web Technologies
Hyper Text Transfer Protocol (HTTP)
http://<host>:<port>/<path>?<searchpart>
– the host is the Internet address of the WWW server
– the port is the port number to connect to
(generally omitted along with the colon :)
(defaults to standard "80")
– path tells the server which file you want
(if file name is omitted you want the "home page")
– the searchpart may be used to pass information to
the server (often to a CGI script)
(generally omitted, along with the question mark ?)
HTTP URL Detailed Example
http://www.7sport.net:80/7sport/index.htm
Host Path
Scheme
• http is the scheme
• www.7sport.net is the host name
• :80 is the port (it can be omitted)
• Finally 7sport/index.htm is the path
Port
Web Technologies
Web Technologies
Another HTTP Example
http://www.google.co.uk:80/search?hl=en&q=Football
Host Path
Scheme
• http is the scheme
• www.google.co.uk is the host name
• :80 is the port (it can be omitted)
• search is the path
• ?hl=en&q=Football is the search part
– hl=en (search language is English)
– q=Football (search keyword is Football)
Port Search Part

More Related Content

Viewers also liked

Avi CEDER 3-page CV and Achievements with selected publications Sept-2016
Avi CEDER 3-page CV and Achievements with selected publications Sept-2016Avi CEDER 3-page CV and Achievements with selected publications Sept-2016
Avi CEDER 3-page CV and Achievements with selected publications Sept-2016
Avi Ceder
 
Resume_Manav_Rathi
Resume_Manav_RathiResume_Manav_Rathi
Resume_Manav_Rathi
Manav Rathi
 
Primeros auxilios heridas , traumatismos y golpes
Primeros auxilios heridas , traumatismos y golpesPrimeros auxilios heridas , traumatismos y golpes
Primeros auxilios heridas , traumatismos y golpes
Maury Lopez
 

Viewers also liked (19)

Preservation Town Hall 2017
Preservation Town Hall 2017Preservation Town Hall 2017
Preservation Town Hall 2017
 
Propp and todov theory
Propp and todov theoryPropp and todov theory
Propp and todov theory
 
Жилой дом в Вазисубани
Жилой дом в ВазисубаниЖилой дом в Вазисубани
Жилой дом в Вазисубани
 
Jsas 002 04_01_sadeghi
Jsas 002 04_01_sadeghiJsas 002 04_01_sadeghi
Jsas 002 04_01_sadeghi
 
Agile-Nearshore
Agile-NearshoreAgile-Nearshore
Agile-Nearshore
 
Sustainable Development Goals - Finding Solutions For Water Sector in Africa
Sustainable Development Goals - Finding Solutions For Water Sector in AfricaSustainable Development Goals - Finding Solutions For Water Sector in Africa
Sustainable Development Goals - Finding Solutions For Water Sector in Africa
 
3 ijcse-01222-5
3 ijcse-01222-53 ijcse-01222-5
3 ijcse-01222-5
 
Management of offshore agile projects
Management of offshore agile projectsManagement of offshore agile projects
Management of offshore agile projects
 
Avi CEDER 3-page CV and Achievements with selected publications Sept-2016
Avi CEDER 3-page CV and Achievements with selected publications Sept-2016Avi CEDER 3-page CV and Achievements with selected publications Sept-2016
Avi CEDER 3-page CV and Achievements with selected publications Sept-2016
 
Resume_Manav_Rathi
Resume_Manav_RathiResume_Manav_Rathi
Resume_Manav_Rathi
 
Unicode Technologies Company Profile
Unicode Technologies Company ProfileUnicode Technologies Company Profile
Unicode Technologies Company Profile
 
Cv tapan kumar prusty updated
Cv tapan kumar prusty updatedCv tapan kumar prusty updated
Cv tapan kumar prusty updated
 
Response to the brief
Response to the briefResponse to the brief
Response to the brief
 
Primeros auxilios heridas , traumatismos y golpes
Primeros auxilios heridas , traumatismos y golpesPrimeros auxilios heridas , traumatismos y golpes
Primeros auxilios heridas , traumatismos y golpes
 
" Renaissance Period "
" Renaissance Period "" Renaissance Period "
" Renaissance Period "
 
ია და ჭიანჭველები
ია და ჭიანჭველებიია და ჭიანჭველები
ია და ჭიანჭველები
 
Ethics in Performance Management
Ethics in Performance ManagementEthics in Performance Management
Ethics in Performance Management
 
Introduction to Embedded Linux
Introduction to Embedded LinuxIntroduction to Embedded Linux
Introduction to Embedded Linux
 
Historia del Maquillaje
Historia del Maquillaje Historia del Maquillaje
Historia del Maquillaje
 

Similar to Sep16_PPt

Introduction to Web Programming - first course
Introduction to Web Programming - first courseIntroduction to Web Programming - first course
Introduction to Web Programming - first course
Vlad Posea
 

Similar to Sep16_PPt (20)

Webtech1b
Webtech1bWebtech1b
Webtech1b
 
Webtech1b
Webtech1bWebtech1b
Webtech1b
 
Webtech1b
Webtech1bWebtech1b
Webtech1b
 
Webtech1b
Webtech1bWebtech1b
Webtech1b
 
Webtech1b
Webtech1bWebtech1b
Webtech1b
 
Web-01-HTTP.pptx
Web-01-HTTP.pptxWeb-01-HTTP.pptx
Web-01-HTTP.pptx
 
KMUTNB - Internet Programming 2/7
KMUTNB - Internet Programming 2/7KMUTNB - Internet Programming 2/7
KMUTNB - Internet Programming 2/7
 
Url and protocol
Url and protocolUrl and protocol
Url and protocol
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
 
Web technology Unit I Part C
Web technology Unit I  Part CWeb technology Unit I  Part C
Web technology Unit I Part C
 
Basic concept of internet
Basic concept of internetBasic concept of internet
Basic concept of internet
 
Wt-UNNIT-1 (1).ppt
Wt-UNNIT-1 (1).pptWt-UNNIT-1 (1).ppt
Wt-UNNIT-1 (1).ppt
 
Introduction to Web Programming - first course
Introduction to Web Programming - first courseIntroduction to Web Programming - first course
Introduction to Web Programming - first course
 
WWW and HTTP
WWW and HTTPWWW and HTTP
WWW and HTTP
 
Html intake 38 lect1
Html intake 38 lect1Html intake 38 lect1
Html intake 38 lect1
 
Http VS. Https
Http VS. HttpsHttp VS. Https
Http VS. Https
 
21 Www Web Services
21 Www Web Services21 Www Web Services
21 Www Web Services
 
Web technologies-course 01.pptx
Web technologies-course 01.pptxWeb technologies-course 01.pptx
Web technologies-course 01.pptx
 
A new Internet? Intro to HTTP/2, QUIC, DoH and DNS over QUIC
A new Internet? Intro to HTTP/2, QUIC, DoH and DNS over QUICA new Internet? Intro to HTTP/2, QUIC, DoH and DNS over QUIC
A new Internet? Intro to HTTP/2, QUIC, DoH and DNS over QUIC
 
internet workshop
internet workshopinternet workshop
internet workshop
 

More from cloud oct18 (20)

SamplePPTX.pdf.pptx
SamplePPTX.pdf.pptxSamplePPTX.pdf.pptx
SamplePPTX.pdf.pptx
 
Presentations-Tips.ppt.ppt
Presentations-Tips.ppt.pptPresentations-Tips.ppt.ppt
Presentations-Tips.ppt.ppt
 
mathsmagic_full.pdf
mathsmagic_full.pdfmathsmagic_full.pdf
mathsmagic_full.pdf
 
bb9f33d45e192c733c67c7fb566516f4.pdf
bb9f33d45e192c733c67c7fb566516f4.pdfbb9f33d45e192c733c67c7fb566516f4.pdf
bb9f33d45e192c733c67c7fb566516f4.pdf
 
math.pdf
math.pdfmath.pdf
math.pdf
 
thinking-about-publishing-893773285.pdf
thinking-about-publishing-893773285.pdfthinking-about-publishing-893773285.pdf
thinking-about-publishing-893773285.pdf
 
mathsmagic_full.pdf
mathsmagic_full.pdfmathsmagic_full.pdf
mathsmagic_full.pdf
 
mathsmagic_full.pdf
mathsmagic_full.pdfmathsmagic_full.pdf
mathsmagic_full.pdf
 
sample.pdf
sample.pdfsample.pdf
sample.pdf
 
Std10-Maths-EM-1.pdf
Std10-Maths-EM-1.pdfStd10-Maths-EM-1.pdf
Std10-Maths-EM-1.pdf
 
webtech1b.ppt
webtech1b.pptwebtech1b.ppt
webtech1b.ppt
 
Daily-Inspiration.pdf
Daily-Inspiration.pdfDaily-Inspiration.pdf
Daily-Inspiration.pdf
 
mathsmagic_full.pdf
mathsmagic_full.pdfmathsmagic_full.pdf
mathsmagic_full.pdf
 
Webtech1b
Webtech1bWebtech1b
Webtech1b
 
mathsppt-130513031745-phpapp02.ppt
mathsppt-130513031745-phpapp02.pptmathsppt-130513031745-phpapp02.ppt
mathsppt-130513031745-phpapp02.ppt
 
download-presentation-in-powerpoint1567.ppt
download-presentation-in-powerpoint1567.pptdownload-presentation-in-powerpoint1567.ppt
download-presentation-in-powerpoint1567.ppt
 
oct20 upload by prajwal
oct20 upload by prajwaloct20 upload by prajwal
oct20 upload by prajwal
 
Std10-Maths-EM-1.pdf
Std10-Maths-EM-1.pdfStd10-Maths-EM-1.pdf
Std10-Maths-EM-1.pdf
 
bb9f33d45e192c733c67c7fb566516f4.pdf
bb9f33d45e192c733c67c7fb566516f4.pdfbb9f33d45e192c733c67c7fb566516f4.pdf
bb9f33d45e192c733c67c7fb566516f4.pdf
 
new-perspectives-on-narcissism.pdf
new-perspectives-on-narcissism.pdfnew-perspectives-on-narcissism.pdf
new-perspectives-on-narcissism.pdf
 

Recently uploaded

Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
delhimunirka15
 
Russian Call Girls Lucknow Just Call 👉👉 📞 8617370543 Top Class Call Girl Serv...
Russian Call Girls Lucknow Just Call 👉👉 📞 8617370543 Top Class Call Girl Serv...Russian Call Girls Lucknow Just Call 👉👉 📞 8617370543 Top Class Call Girl Serv...
Russian Call Girls Lucknow Just Call 👉👉 📞 8617370543 Top Class Call Girl Serv...
Nitya salvi
 
Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..
mvxpw22gfc
 
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu DhabiMussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
romeke1848
 
Call Girls In Dilshad Garden | Contact Me ☎ +91-9953040155
Call Girls In Dilshad Garden | Contact Me ☎ +91-9953040155Call Girls In Dilshad Garden | Contact Me ☎ +91-9953040155
Call Girls In Dilshad Garden | Contact Me ☎ +91-9953040155
SaketCallGirlsCallUs
 
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Nitya salvi
 
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Sheetaleventcompany
 
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptxEngineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
DanielRemache4
 

Recently uploaded (20)

Theoretical Framework- Explanation with Flow Chart.docx
Theoretical Framework- Explanation with Flow Chart.docxTheoretical Framework- Explanation with Flow Chart.docx
Theoretical Framework- Explanation with Flow Chart.docx
 
SB_ Pretzel and the puppies_ Rough_ RiverPhan (2024)
SB_ Pretzel and the puppies_ Rough_ RiverPhan (2024)SB_ Pretzel and the puppies_ Rough_ RiverPhan (2024)
SB_ Pretzel and the puppies_ Rough_ RiverPhan (2024)
 
Azamgarh Call Girls WhatsApp Chat: 📞 8617370543 (24x7 ) Service Available Nea...
Azamgarh Call Girls WhatsApp Chat: 📞 8617370543 (24x7 ) Service Available Nea...Azamgarh Call Girls WhatsApp Chat: 📞 8617370543 (24x7 ) Service Available Nea...
Azamgarh Call Girls WhatsApp Chat: 📞 8617370543 (24x7 ) Service Available Nea...
 
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
 
Russian Call Girls Lucknow Just Call 👉👉 📞 8617370543 Top Class Call Girl Serv...
Russian Call Girls Lucknow Just Call 👉👉 📞 8617370543 Top Class Call Girl Serv...Russian Call Girls Lucknow Just Call 👉👉 📞 8617370543 Top Class Call Girl Serv...
Russian Call Girls Lucknow Just Call 👉👉 📞 8617370543 Top Class Call Girl Serv...
 
Jaro je tady - Spring is here (Judith) 3
Jaro je tady - Spring is here (Judith) 3Jaro je tady - Spring is here (Judith) 3
Jaro je tady - Spring is here (Judith) 3
 
WhatsApp Chat: 📞 8617370543 Call Girls In Siddharth Nagar At Low Cost Cash Pa...
WhatsApp Chat: 📞 8617370543 Call Girls In Siddharth Nagar At Low Cost Cash Pa...WhatsApp Chat: 📞 8617370543 Call Girls In Siddharth Nagar At Low Cost Cash Pa...
WhatsApp Chat: 📞 8617370543 Call Girls In Siddharth Nagar At Low Cost Cash Pa...
 
Digital C-Type Printing: Revolutionizing The Future Of Photographic Prints
Digital C-Type Printing: Revolutionizing The Future Of Photographic PrintsDigital C-Type Printing: Revolutionizing The Future Of Photographic Prints
Digital C-Type Printing: Revolutionizing The Future Of Photographic Prints
 
Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..
 
THE ARTS OF THE PHILIPPINE BALLET PRESN
THE ARTS OF  THE PHILIPPINE BALLET PRESNTHE ARTS OF  THE PHILIPPINE BALLET PRESN
THE ARTS OF THE PHILIPPINE BALLET PRESN
 
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu DhabiMussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
 
Call Girls In Dilshad Garden | Contact Me ☎ +91-9953040155
Call Girls In Dilshad Garden | Contact Me ☎ +91-9953040155Call Girls In Dilshad Garden | Contact Me ☎ +91-9953040155
Call Girls In Dilshad Garden | Contact Me ☎ +91-9953040155
 
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
 
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
 
Storyboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to SingStoryboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to Sing
 
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptxEngineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
 
Call Girls Varanasi Just Call 8617370543Top Class Call Girl Service Available
Call Girls Varanasi Just Call 8617370543Top Class Call Girl Service AvailableCall Girls Varanasi Just Call 8617370543Top Class Call Girl Service Available
Call Girls Varanasi Just Call 8617370543Top Class Call Girl Service Available
 
SB_ Scott Pilgrim_ Rough_ RiverPhan (2024)
SB_ Scott Pilgrim_ Rough_ RiverPhan (2024)SB_ Scott Pilgrim_ Rough_ RiverPhan (2024)
SB_ Scott Pilgrim_ Rough_ RiverPhan (2024)
 
SB_ Dragons Riders of Berk_ Rough_ RiverPhan (2024)
SB_ Dragons Riders of Berk_ Rough_ RiverPhan (2024)SB_ Dragons Riders of Berk_ Rough_ RiverPhan (2024)
SB_ Dragons Riders of Berk_ Rough_ RiverPhan (2024)
 
Navsari Call Girl 📞 8617370543 Low Price Genuine Service
Navsari Call Girl 📞 8617370543 Low Price Genuine ServiceNavsari Call Girl 📞 8617370543 Low Price Genuine Service
Navsari Call Girl 📞 8617370543 Low Price Genuine Service
 

Sep16_PPt

  • 1. Web Technologies Uniform Resource Locators (URLs) http://news.bbc.co.uk/1/hi/education/5341426.stm
  • 2. URL Defined • A Uniform Resource Locator (URL) is a standard way developed to specify the location of a resource available electronically. RFC 1738 Web Technologies
  • 3. Web Technologies What are URLs? • URLs make it possible to direct both people and software applications to a variety of information, available from a number of different Internet protocols. • A URL is like your complete mailing address: it specifies all the information necessary for someone to address an envelope to you. John Brown 12 Stoke Road Stoke-on-Trent ST4 2DG
  • 4. Web Technologies What are URLs? (contd.) • In short, a URL is a very convenient and succinct way to direct people to a file or other electronic resource. • Learning how to interpret, use and construct URLs will assist your exploration of the Internet.
  • 5. Web Technologies General URL syntax <scheme>:<scheme-dependent-information> Scheme examples: – http – ftp – news – gopher
  • 6. Web Technologies Scheme <scheme>:<scheme-dependent-information> – Tells you what type of resource we are trying to reach and/or what mechanism to use to obtain it. – Examples: – http (Hyper Text Transfer Protocol) – ftp (File Transfer Protocol) – news (News protocol)
  • 7. Web Technologies Scheme Dependent Information <scheme>:<scheme-dependent-information> – This information is detailed with each scheme – Most schemes include the: – Machine making the file available – "Path" to that file – Example (for HTTP): http://www.7sport.net/7sport/index.htm Machine Path Scheme
  • 8. Web Technologies URL Example (explained) http://www.7sport.net/7sport/index.htm Machine Path Scheme • http is the scheme hyper text transfer protocol • two slashes (//) separate the scheme from the machine/domain name • www.7sport.net is the machine/domain name • single slash (/) separates the name from the path • Finally 7sport/index.htm is the path.
  • 9. Web Technologies URL Example (explained) http://www.7sport.net/7sport/ Machine Path Scheme • sometimes the path will end in a slash (/) • this indicates that the URL is not pointing to a specific file • in this case the server returns the "default" page – homepage.html – home.html – welcome.html – default.html
  • 10. Web Technologies HTTP & FTP General Formats scheme://machine.domain/full-path-of-file – Examples: – http://www.w3schools.com/html/html_forms.asp (Hyper Text Transfer Protocol) – ftp://garbo.uwasa.fi/pc/doc-net/ (File Transfer Protocol)
  • 11. Web Technologies HTTP URL Example (explained) http://www.w3schools.com/html/html_forms.asp Machine/Domain Name Path Scheme • http is the scheme hyper text transfer protocol • two slashes (//) separate the scheme from the machine/domain name • www.w3schools.com is the machine/domain name • single slash (/) separates the name from the path • Finally html/html_forms.asp is the path.
  • 12. Web Technologies FTP URL Example (explained) ftp://garbo.uwasa.fi/pc/doc-net/ Machine Path Scheme • ftp is the scheme file transfer protocol • two slashes (//) separate the scheme from the machine/domain name • garbo.uwasa.fi is the machine/domain name • single slash (/) separates the name from the path • Finally pc/doc-net is the path.
  • 13. Web Technologies Using URLs • You can double click on a URL (link) and if your system is configured properly the appropriate application will be launched to obtain the resource. • You can also copy the URL and paste it into the application which you use to get to the resource.
  • 14. Web Technologies Troubleshooting URLs Reasons for not being able to access URLs: – the remote machine refuses the connection – the site is very busy (e.g. peak hours of use) – you have misspelled the URL – the file was moved – if all else fails you can try looking up the hierarchy by sequentially removing the file name first, and then the last directory in the path.
  • 15. Web Technologies Hyper Text Transfer Protocol (HTTP) http://<host>:<port>/<path>?<searchpart> – the host is the Internet address of the WWW server – the port is the port number to connect to (generally omitted along with the colon :) (defaults to standard "80") – path tells the server which file you want (if file name is omitted you want the "home page") – the searchpart may be used to pass information to the server (often to a CGI script) (generally omitted, along with the question mark ?)
  • 16. HTTP URL Detailed Example http://www.7sport.net:80/7sport/index.htm Host Path Scheme • http is the scheme • www.7sport.net is the host name • :80 is the port (it can be omitted) • Finally 7sport/index.htm is the path Port Web Technologies
  • 17. Web Technologies Another HTTP Example http://www.google.co.uk:80/search?hl=en&q=Football Host Path Scheme • http is the scheme • www.google.co.uk is the host name • :80 is the port (it can be omitted) • search is the path • ?hl=en&q=Football is the search part – hl=en (search language is English) – q=Football (search keyword is Football) Port Search Part