Web and Database Programming

From UIDWiki

Jump to: navigation, search

More information about many of these topics can be found at TiG.

Web Servers

CSAIL web servers can run PHP 5. You can put script code in your CSAIL web directory (~/public_html) and view it from people.csail.mit.edu, or into the UID group directory (/afs/csail/group/uid/www/data) and view it through groups.csail.mit.edu.

Access Logs

You can view the access logs for CSAIL's web servers by logging into the server using your CSAIL account, and going to /var/log/apache2.

Databases

CSAIL runs a database server at mysql.csail.mit.edu. If you visit this server in a web browser with your CSAIL certificate in it, then it will let you create databases, create accounts for the database server, and manage access control for your databases.

There is also a PHPMyAdmin interface on the database server, which is nice for browsing and managing your databases. Log into it using a database account, not using your CSAIL username and password.