Difference between #7 and #8 of
yii2-app-advanced on single domain (Apache, Nginx)

Revision #8 has been created by MadAnd on Apr 27, 2015, 10:19:04 PM with the memo:

Added mention of FollowSymlinks for Apache
« previous (#7) next (#9) »

Changes

Title unchanged

yii2-app-advanced on single domain (Apache, Nginx)

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

yii2, yii2-app-advanced, nginx, single domain, apache, htaccess

Content changed

[...]
### Apache

`DocumentRoot` directive is NOT AVAILABLE in .htaccess file context! You should edit you httpd.conf or virtual host config file. Or modify corresponding setting in the hosting configuration interface.

Also make sure that `FollowSymlinks` option is active for a virtual host.
 
 
Example virtual host config:

~~~
[...]
ServerName example.com
DocumentRoot "/path/to/project/frontend/web"
    Options +FollowSymlinks
 
...
</VirtualHost>
~~~

### Nginx
[...]
4 0
14 followers
Viewed: 147 553 times
Version: 2.0
Category: How-tos
Written by: MadAnd
Last updated by: QuPsi
Created on: Mar 12, 2015
Last updated: 3 years ago
Update Article

Revisions

View all history