|
|
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
|
|