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

Comparing #7 with #8

Revision #8 was created by MadAnd MadAnd on Apr 27, 2015, 10:19:04 PM.

Added mention of FollowSymlinks for Apache

Content

[...]
### 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
[...]