Nginx for Symfony

Aleksandar Lazic al-nginx at none.at
Sat May 24 20:41:31 MSD 2008


On Son 25.05.2008 00:24, John Huong wrote:
> In my symfony project's web folder there is a .htaccess file.
>
> For apache I would have a line in that file that is
> RewriteBase /myproject
>
> What is equivalent in nginx?

you can do like this:

server {
   root $FULL_SYMFONY_PROJECT_WEBFOLDER_PATH;
   location php
   location ~ \....
}

please take this parts from the mails before ;-)

Cheers

Aleks





More information about the nginx mailing list