Web Hosting
UGCS offers web hosting for all of its accounts.
Basics
UGCS homepages can be accessed at http://www.ugcs.caltech.edu/~username To make a file visible here, put it in ~/public/html (or /afs/.ugcs/user/<username>/public/html) PHP scripts may be placed anywhere under ~/public/html. CGI scripts are accessable at http://www.ugcs.caltech.edu/~username/cgi-bin, and may be placed in ~/public/cgi-bin (they must be executable)
If you want to see your log messages, they are in /afs/.ugcs/apache-logs/username. Almost all errors from your webspace will be in error.log, and vhost log messages will be in a file named for the appropriate vhost.
Scripting
All scripts are run through SUID wrappers. All scripts are run with your UID and the AFS username "username_cgi".
Other services
UGCS offers some more advanced web hosting services. We offer virtual domains, so you can have a domain (like example.caltech.edu) be hosted on UGCS.
See Also
- PHP scripting
- Virtual Hosting
- How to set up a Mediawiki on UGCS
- How to password protect a website.
