Creating Web Pages
DEPARTMENTS, OFFICES, AND ORGANIZATIONS
In most cases, departments and offices at Binghamton University that desire a web presence or need their current web site redesigned should contact the web development group in the Office of Creative Services. If necessary, accounts will be issued for the University's content management system, OminUpdate, which will enable the appropriate persons to manage their own web pages. For training, go to Communications and Marketing web page.
For other groups and organizations on campus as well as faculty and staff who have a need (project, research, conference, etc...), contact Communications and Marketing.
FACULTY, STAFF, AND STUDENTS
Faculty who want a web site for their classes can either use myCourses, use their existing Bingsuns account, or request a new one on the Bingsuns system. All members of the Binghamton University community can use their Bingsuns account to create personal web pages. See the document Instructional and Personal Web Pages for more information.
Student Association (SA) chartered groups must go through B-Engaged if they want a web presence at Binghamton University.
Groups chartered by the Graduate Student Organization (GSO) should contact the GSO.
Student groups that are not chartered by either organization may be able to get a web account for legitimate University business and for scholarly activity by obtaining sponsorship from a campus employee or department. The sponsor should contact John Hagan in Information Technology Services.
DEPARTMENTAL AND OFFICES ASSISTANCE WITH WEB PRESENCE
Departments and offices at Binghamton University that desire a web presence or need their current web site redesigned should contact the web development group in the Office of Creative Services .
File Not Found error
Check to make sure the file exists.
File names on a unix system are case sensitive. MyFile.html is different than myfile.html!
If you use a filename with a space in it, some older browsers may not properly encode the space and you may get a File Not Found error when you try to access it.
There are several situations that will cause a Forbidden error.
Trying to View a Directory without an Index File
Many web sites forbid you to view a directory of files (for example: http://foo.binghamton.edu/) unless there is an index file (usually index.html). If an index file exists, it does not need to be added to the URL; however, if there is no index file, you will need to know the entire URL (for example: http://foo.binghamton.edu/home.html).
Some web sites or portions of web sites are restricted to certain internet addresses. If you try to access a restricted page from an unauthorized address, you will get a Forbidden error. Check to see if there are notes about any access restrictions that may be in place.
If you publish a web page and the file permissions are not set properly, you will get a Forbidden error when you try to access the page. If you think this may be your problem and your web page is on one of our web servers, you can set the proper permissions by logging in to your web account and issuing the following command from the system prompt:
chmod 755 myfile.html (where: myfile.html is the actual name of your file)
Note: If your file is not in your home directory you will have to specify the path to your file. For example, on Bingweb, web pages are stored in a directory called public_html. To set the permissions on a file in this directory, issue this command from the system prompt:
chmod 755 public_html/myfile.html
To set the permissions on all the files in your public_html directory, issue this command from the system prompt:
chmod -R 755 public_html
A more detailed discussion about file and directory permissions on Bingsuns (Bingweb) is also available.
Internal Server Error
FTP your Perl/PHP scripts using ascii mode. If you use binary mode a control-M (^M) character will be inserted at the end of each line. This is a carraige return character. On Windows/DOS systems, lines are terminated by a carriage return character followed by a line feed character and on Mac systems, lines are terminated by just a carriage return character. On Unix systems, lines are terminated by just a line feed character so carraige returns show up as control-M characters. This usually doesn't cause a problem for HTML pages (although it makes the code look unsightly!) but it will break your Perl/PHP scripts. If you can't ftp in ascii mode, login to your web account and issue the following command from the system prompt:
dos2unix myfile.cgi myfile.cgi (where: myfile.cgi is the name of your file)
If you are using Dreamweaver to publish your pages, go in to the Preferences, choose Code Format, and set the Line break type to LF (Unix).
Perl and PHP scripts must be executable. Running a script which does not have the executable permission set will result in an Internal Server Error. Note: the presence of this error does not necessarily mean that there is a permission problem. This is just a generic error message produced by the server when it detects a problem with a script. To set the proper permissions for your script, login to your web account and issue the following command from the system prompt:
chmod 755 myfile.cgi (where: myfile.cgi is the actual name of your script)
Know how much space you have on your web account. Login to your account and issue the following command from the system prompt:
If you are over quota, you will need to remove some files or request more space. If you run out of space on your Bingweb account, you may be able to get more if you contact the Help Desk . If you have an account on Bingwww (most departments and offices), contact John Hagan if you need more space. Note: do not try to ftp or publish files when you are over quota! The files will be created on your account but they will be empty. When you try to view an empty HTML page it will be blank.