Liaison:Web Development FAQ & Server Configuration
From SASDocs
[edit] SAS Web Details
Q. What software is installed/available?
A. Listed below is the available software and pertinent information.
- Primary Packages
- Apache 2.0.54
- PHP 5.0.4
- Perl 5.8.5
- MySQL 4.1.10a
- Secondary Packages
- Web Surveyor
- Perl Sendmail Scripts
- PHPMyAdmin
- Web Log Analyzer
These packages are compiled with the most common modules. If you need a specific module send SAS (itsas@mtu.edu) an email and we will look into it.
MySQL databases are provided on request but SAS’s MySQL is not a production service. This means you are responsible for backups and the service is not guaranteed.
If you need access to one of these packages send SAS itsas@mtu.edu an email.
Q: What is the name of your web server? How do I log into it?
A. Our web server can be reached at login.admin.mtu.edu. The server only accepts secure connects so you must use SSH to connect. For Windows users we recommend putty, which can be downloaded here: http://www.chiark.greenend.org.uk/~sgtatham/putty/. Linux users can use commands such as slogin and ssh.
Q. My favorite shell/editor/environment is not installed where can I get it installed?
A. Send SAS (itsas@mtu.edu) an email.
Q. How do I edit a webpage?
A. When you log into a Windows machine in the ADMIN domain your login script should mount all the necessary web drives, such as the W: drive. You may have several web drives mounted to other letters, but they will all say (Websrv) in the name. You can also log into the web server, via the above mentioned methods, and edit your pages there.
Q. How are the web directories laid out on login.admin.mtu.edu?
A. The web directories are all located in /www. Each department has a folder that contains their webdocs and cgi-bin scripts. If you cannot find your department’s web documents, please contact SAS (itsas@mtu.edu) for assistance.
Q. I need to change the permissions/group ownership of a file, how can I do that?
A. You can run chmod and chgrp from the web server to change permissions. However you can only change group ownership to groups you are a member of.
Q. Where are the server logs located?
A. The logs are available on the web server in /opt/apache/logs. They are broken up into each major group to make finding information easier.
Q. My PHP script is not generating errors how can I get them back?
A. Error generation is turned off. To see your errors you can look in the error logs on the server, mentioned above.
Q. I want to FTP my files to your web server how can I do that?
A. You must use an FTP program that supports the SFTP protocol. For windows user we recommend WSFTP which can be downloaded at http://www.download.com/3000-2160-10018456.html. Linux/Unix users can use the scp command to move their files.
