use the Apache `SCRIPT_URL` var to reconstruct a logial `SCRIPT_NAME` when mod_rewrite is in use (fixes #2299)
Authored by: mgood 2007-02-09
Parent: [r4717]
Child: [r4719]