your web directory must contains a public directory (so /path/to/web/public must exist)All http request will be redirect to this public directory, and if the page didn't exist il will be redirect to index.php.