| SIUC Home | Campus Index A-Z | Apply Now | People Finder | Jobs | Webmail |

Department
Home, Overview, Contact, Facilities...

People
Faculty, Staff

Programs
Undergraduate, Graduate, Courses, Course Schedules, Course Materials...

Research
Activities, Grants

Scholarships

Opportunities

Utilities
Webmail, Downloads

Computer Account Policy

How to post your webpage

  • Log on to a Linux computer, say pc00.cs.siu.edu
  • Create a directory called public_html under your home directory, which is /home/your_login_id.
    • mkdir public_html
  • Change the mode of the public_html directory and your home directory to worldwide executable
  • Put your index.html file under the public_html directory you just created.
  • Use a browser like Netscape Navigator or Microsoft Internet Explorer to open your webpage. The path is: http://www.cs.siu.edu/~your_login_id/
  • How to run your cgi program

  • Refer to How to post your webpage above and do step 1 through 3
  • Create a directory called cgi-bin under your public_html directory.
  • Change the permission of the cgi-bin directory to worldwide readable and executable
    • chmod o+rx cgi-bin
  • Put your cgi file under the cgi-bin directory and change permission of the cgi file worldwide readable and executable
    • chmod o+rx your_cgi_file_name.cgi
  • Now you can run your cgi program by issuing commands like http://cslab.cs.siu.edu/~your_login_id/cgi-bin/your_cgi_file_name.cgi
  • Examples: A Perl Script (saying Hello) and A Bourne Shell Script (listing system variables)
  • Webmaster - EOE Link - Privacy Policy     Last Update: August 2007