Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Webtools can not load css if using different baseUri

When I set baseUri in config different than '/' - css and js files could not loads. I am using base URI '/phalcon-test-app/'

in view source I see this: <link rel="stylesheet" type="text/css" href="/css/webtools.css?v=3.0.3">

PHP 5.6.19 , Apache 2.4.18 on Windows 10

What I am doing wrong?

www



30.0k
Accepted
answer
edited Dec '16

Hi,

in app/config/config.php add an entry in 'application' array:

'staticUri' => '/phalcon-test-app/'

You may set baseUri to the same value ifyour experiencing duplication of webtools.php in the url. See that post:

https://forum.phalconphp.com/discussion/15105/webtools-url-keeps-multiplying



763

thanks! it helped!

Hi,

in app/config/config.php add an entry in 'application' array:

'staticUri' => '/phalcon-test-app/'

You may set baseUri to the same value ifyour experiencing duplication of webtools.php in the url. See that post:

https://forum.phalconphp.com/discussion/15105/webtools-url-keeps-multiplying