Istanbul Bilgi University Department of Computer Science
Previous Home > About This Site > Scripts Version 2.2.4 Next
Home
   About This Site
      Previous Scripts
      Scripts Version 2.2.4
         Httpd.conf
         Messages.php
         Navigate.php
         Pagelayout.php
         Pagelayout.tpl0
      Apache2.conf
      Messages.php
      Navigate.php
      Pagelayout.php
      Pagelayout.tpl0
      Style.css
   Academic Policies
   Academic Staff
   Courses
   Curiosity Corner
   High School Computer Clubs Project
   Lab Rules
   Links
   Member Help
   News
   Other Stuff
   Standards Project
   Turing Days
   Usage Statistics
   Yarışma

 
How this site works

This site runs Apache 1.3 under Linux (currently this machine is running Red Hat 7.0) running on an old Pentium II 400 Mhz machine. The same machine also hosts math.bilgi.edu.tr and the old experimental computing.bilgi.edu.tr sites.

The pages you see are generated by a PHP script. This PHP script (the version here may be slightly out of date). 

How do the page requests get sent to the script? You will notice that all the URLs look like normal requests for normal pages. We use Apache rewrite rules to rewrite incoming page requests so that they are passed via our PHP script which gets the originally requested file as a query string. You can find the rewrite rules I used in this httpd.conf file. Look for the rewrite rules. Don't be confused by the other rewrite rules - just look at the rules for the cs.bilgi.edu.tr virtual server.

Thanks to Burcin Erocal for the idea of using rewrite rules...

You are welcome to use and adapt these programs (subject to the terms of GPL licence)

Please let me know about bugs..

Chris Stephenson