|
|
| Home About This Site Previous Scripts Scripts Version 2.2.4 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 |
This site used to run
Apache 1.3 under
Linux (running Red Hat 7.0) running on an old Pentium II 400 Mhz
machine. The same machine also hosted math.bilgi.edu.tr and the old
experimental
computing.bilgi.edu.tr sites. The server was located under Chris
Stephenson's desk in his office at Kuştepe. The only time the server
ever failed was when the maintenance department came it at the weekend
to change the office carpet and pulled out the plug. Apart for that the
server ran (I think) nearly a year without needing rebooting. We now have a more
modern installation.
The machine is part of a racked server farm supplied by Fujitsu
Siemens, which s now located in our server room in the Dolapdere
campus. The server now runs Apache 2.0 under Debian GNU/Linux
(testing) The pages you see
are generated by a PHP
script. This
PHP script (version 2.2.6). Like a number of other useful programs
around the department, it got written by Chris Stephenson when he had
the flu.
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 used in this apache2.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
|
Last Updated : 2004-11-18 10:02:39
|