php-debugbar
php-debugbar copied to clipboard
Not getting it to work with apache userdirecroty
Hi,
Is PHPDebubar supposed to work in a setup with Apache Userdirectories?
The apache logs shows 404
"GET /vendor/maximebf/debugbar/src/DebugBar/Resources/vendor/font-awesome/css/font-awesome.min.css HTTP/1.1"
Is there anyway I can change that href without hacking the source directly? I would expect to see
"GET /~UserName/vendor/maximebf/debugbar/src/DebugBar/Resources/vendor/font-awesome/css/font-awesome.min.css HTTP/1.1"
Is this a config setting?
I know one should not run php for userdirs but, this its a disposable VM
The file JavascriptRenderer.php has a $baseUrl variable. Its in : vendor/maximebf/debugbar/src/DebugBar
$ diff JavascriptRenderer.php.org JavascriptRenderer.php
95c95
< $baseUrl = '/vendor/maximebf/debugbar/src/DebugBar/Resources';
---
> $baseUrl = 'vendor/maximebf/debugbar/src/DebugBar/Resources';
Makes it work for me.