Do you have a question? Post it now! No Registration Necessary. Now with pictures!
September 18, 2007, 8:48 pm
rate this thread
Is there a way for PHP to "ask" apache for the result of a rewrite or
For instance, I have an Apache rule that alias /backup to /
Does PHP/Apache have any mechanism to retrieve the actual file system
location of /backup?
I would envision something like this:
<?= getApacheRealPath("http://localhost/backup/someFile") ?>
<?= getApacheRealPath("http://localhost) ==
$_SERVER['DOCUMENT_ROOT) ? 'true' : 'false' ?>
- » php.ini location confusion: (Loaded) Configuration File
- — Previous thread in » PHP Scripting Forum