Error 404 using webtools with ubuntu 16.04

I am working with ubuntu 16.04 and I am trying to understand how phalcon and developer tools work. I have created a project in my lamp configuration apache 2.14.18 php 7.0.13 and mysql 5.7. The lamp directory is /var/www/html So, I have done phalcon project aroma and then phalcon webtools enable When I run webtools.php with firefox / firefox developer edition and chrome and I got the following message in the web console GET http://localhost/css/webtools.css HTTP 1.1 404 not found I will appreciate your help.



2.9k

You have to add permission for save new files (generated inn fly by webtools) to public folder (chmod -R 777 public) or add lamp user writing permission



30.7k
edited Jan '17

Hi,

http://localhost/css/webtools.css HTTP 1.1 404 not foun

it should be http://localhost/aroma/css/webtools.css

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

'staticUri' => '/aroma/'

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

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

do you have mod_rewrite on ?

do you have mod_rewrite on ? yes, I do.