Closed luisrom661 closed 3 years ago
location /webtools {
try_files $uri $uri/ /webtools.php?_url=$uri&$args;
}
location
is a path where your webtools.php
is located + filename without .php
For example vhost's root path is /app/public
, and webtools located
- Fixed handle error in #1501
- For better workflow i recommend to add into your nginx vhost config
location /webtools { try_files $uri $uri/ /webtools.php?_url=$uri&$args; }
location
is a path where yourwebtools.php
is located + filename without.php
For example vhost's root path is
/app/public
, and webtools located
- at /app/public/webtools.php: localtion will be /webtools
- at /app/public/webtools/webtools.php: location will be /webtools/webtools
thanks for your answer, I am not very clear where I should add those lines of code from the location /webtools, can you please tell me? thanks a lot.
While you have Nginx or Apache webserver, you can add this directive into your website configuration under that webserver.
While you have Nginx or Apache webserver, you can add this directive into your website configuration under that webserver.
Thank you!
(this text is automatically translated from Spanish to English.)
Hello, I would like to ask about this error that Phalcon devtools shows when generating a controller, model or scaffold:
my configurations are as follows (config,php)
Details