[Solved] How to call a specific PHP script for a set of paths? [duplicate]

Typically this is done via rewrite rules (i.e. mod_rewrite on Apache). So for Apache that might involve modifying the conf file for the host, or applying the following in an .htaccess file in the web root (assuming the host config allows for such override) RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^someapp/(.*)$ /someapp/index.php?q=$1 … Read more

[Solved] Micro services vs web services [closed]

Micro services are a “design” pattern that guides how you implement functionality. “Web services” on the other hand focus on how customers consume services. In that sense, these two concepts are completely orthogonal. You can provide a REST / SOAP interface to your clients – and internally, this REST endpoint is implemented as micro service … Read more

(Solved) UTF-8 all the way through

Data Storage: Specify the utf8mb4 character set on all tables and text columns in your database. This makes MySQL physically store and retrieve values encoded natively in UTF-8. Note that MySQL will implicitly use utf8mb4 encoding if a utf8mb4_* collation is specified (without any explicit character set). In older versions of MySQL (< 5.5.3), you’ll … Read more

[Solved] Chef Apache2 recipe failing during server build

With OHAI 7, you don’t need (and can’t) reload plugins on the basis of the filename where the specific function is provided. Instead, you reload it based on the specific attribute you want to reload. Thus, while the attributes in node[‘etc’][‘passwd’] still are provided by a plugin named passwd.rb, you can’t reload it that way. … Read more