You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LaCodon edited this page Dec 14, 2015
·
1 revision
If you use Nginx as a webserver, you do not need any .htaccess file but pass the following steps in order to make a Famework project running:
Navigate to your sites-available folder on your server (e.g. /etc/nginx/sites-available/ on default Debian 8)
Open the file for your vhost
Search for the location / { section within the server { part
Paste try_files $uri $uri/ /index.php?$args; in this section; Maybe you have to replace /index.php with something like /path/index.php if your /index.php is publicly accessible via http://www.example.com/path/index.php
Reload the config via executing sudo /etc/init.d/nginx reload on the command line interface
This just makes Nginx to redirect any request to /index.php and thus enabling the nice path feature of Famework.