Posts list
Nginx, close access to the folder
A simple example of the closure of access to one or several folders using Nginx.
Analog deny from all
in .htaccess
Linux, import large database to MySQL with help the console
Quick import of large database
Nginx, download file instead of opening it
Nginx, example of download file instead of opening it
Nginx, 301 redirect for all occasions
This article describes several examples of 301-redirect for Nginx
Deploy site using Shipitjs. Part 2
Simple deploy for inexperienced users.
Example of deploy a website on Yii2. But do deploy of site based to any other framework (core) on the basis of this example is not difficult
Yii Framework, currency format using the number formatter
A simple example of formatting the currency in Yii
Yii Framework, an example of send push notifications for IOS devices
I have a website and app for it. And of course the app is running through API with the website. I need make sending Push notifications on apple device. Based on the obtained experience, I decided to write a small instructions.
The whole mechanism of sending, receiving and storing of tokens I will not describe because it all depends on the structure of your application. I will describe only the key points with the help of which you can make sending push notifications of any complexity.
.htaccess for Yii 2 advanced
Setting .htaccess for Yii2 advanced in Windows using Open Server. On the server with the unix system a .htaccess will work too, is checked.
.htaccess for Yii 2 basic
Setting .htaccess for Yii2 basic. Or how to remove web from the URL in Yii 2 basic.
Yii Framework 2. Get the current controller name, action, module
A simple example of code for Yii2, how get the name of the current controller, action or module.