im-richard / Scaffold

Extend, combine and compress CSS
http://github.com/IAMRichardT/Scaffold/wiki
161 stars 19 forks source link

AbsoluteUrls does not work when using VirtualDocumentRoot. #34

Open jide opened 13 years ago

jide commented 13 years ago

$_SERVER['DOCUMENT_ROOT'] returns an erroneous value when used on a server configured with the apache VirtualDocumentRoot directive.

I modified the AbsoluteUrls extension to make it work using a famous trick which can be found on https://issues.apache.org/bugzilla/show_bug.cgi?id=26052.