[http://creativecommons.org/licenses/by/3.0/]
This work is licensed under a CC
Attribution 3.0 Unported License [http://creativecommons.org/licenses/by/3.0/]
As a starting point for the assignments in this course, we are setting up a server and files on the server for accessing them with (mobile) clients. This lecture looks at some of the practical issues such as how file access works through a file system and through server software, how server software can even provide multiple access paths (virtual hosts), and how working with Web-oriented content can be made more convenient by setting up a local environment (a local Web server).
real application
GET requests ask to get a certain resource's representationkindsof server-side resources
users
localhost [http://en.wikipedia.org/wiki/Localhost] always refers to the host's own interfacefile URI) can have unexpected side-effects
file:///c:/Documents%20and%20Settings/dret/Desktop/drectures/mobapp-spring10 [file:///c:/Documents%20and%20Settings/dret/Desktop/drectures/mobapp-spring10]http://localhost/drectures/mobapp-spring10 [http://localhost/drectures/mobapp-spring10]ftp://tik50x.ethz.ch/home/dret/public_html/lectures/mobapp-spring10 [ftp://tik50x.ethz.ch/home/dret/public_html/lectures/mobapp-spring10]http://dret.net/lectures/mobapp-spring10 [http://dret.net/lectures/mobapp-spring10]just work
just work, URIs must be used responsibly
people and people~/public_htmlmobapp configuration writes to log files in ~/mobapp-logshttp://dret.net/netdret [http://dret.net/netdret] points to aquadret.jpg [http://dret.net/netdret/aquadret.jpg]