Wiki

Articles tagged with "rewrite", sorted by date (updated)X
Displaying 1-2 of 2 result(s).

How to hide /frontend/web in url addresses on apache

Updated 2 years ago by yiimHow-tos15 comments – viewed 84,713 times – ( +18 / -1 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

Using Yii with Nginx and PHP-FPM

Updated 6 years ago by grigoriHow-tos10 comments – viewed 62,249 times – ( +18 / -1 ) – version 1.1
This config is built on an Ubuntu 11.04 server. Software is nginx, php-fpm (php5-fpm). For performance, it's recommended to run php-fpm in SOCKET mode, instead of accessing via IP:PORT. That is the method shown below.