- Setting up a web site
- Purpose: Publish information
- Set up a deamon ... offer http protcol.
- Does NOT offer ftp or gopher or telnet or news protocol.
- Allow users to publish their own information.
- Measure amount and type of accesses.
- Are people interested?
- In what are they interested?
- Are you overloading the system?
- Archicture
- Clients have web browsers.
- Clients have cache
- Not all requests get to server
- Some requests just ask to verify.
- Server cannot know all accesses.
- Connected by inet to web servers.
- Sometimes cache deamons come in between.
- Further screw up accounting.
- Seem not to work well (draw graph).
- Can get around firewall.
- Servers offer data.
- Requirements
- Permenant and fast internet connection.
- Your own IP number and hostname.
- Computer that’s up 24 hours 7 days per week.
- Fast CPU normally NOT required.
- Reasonable amount of disk space IS required.
- Should be on the machine with the http deamon.
- Sometimes (with user accounts??) that’s not possible.
- Setting up typical server.
- Choose Server (we choose Apache)
- Support CGI
- Support standard log format (they all do)
- Choose common one for support (or commercial one)
- Access controls
- Or chose the one already installed.
- Config files
- Everything in /etc/http/httpd.conf and magic.
- Create a /robots.txt file if you want.
- Test server
- Install useful CGI scripts (i.e. counter)
Accounting
- Access can be
- hit
- set of hits close together
- a site
- a kilobyte of data.
- Raw data stored in logs
- very volumous
- often compressed/summarized.
- Accounting done by freeware packages
- Pick on features/ease of installation
- Speed not escencial.
- output in HTML very nice.
- Notes about web browsers
- Some Offer users an HTML editor
- Best editor is ....
- Manage user web cache space.
- Netscape stores in ~/.netscape/cache
- Users cannot share cache space.
- Almost always root can clean this space.
How to handle offensive material:
- Ignore problem
- Police problem.
- Wait for problem to occur
- There are lots of what about racism/sexism?