Wiki articles tagged with "rewrite"

Showing 1-2 of 2 items.

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

Created 10 years ago by raminious, updated 9 years ago by jim..

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)

10 0
21 followers
Viewed: 127 942 times
Version: 2.0
Category: How-tos

Using Yii with Nginx and PHP-FPM

Created 13 years ago by Leric, updated 13 years ago by grigori.

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.

18 0
20 followers
Viewed: 112 714 times
Version: 1.1
Category: How-tos