How to deploy Symfony2 on a shared-hosting?
I want to access my symfony app in production env ( http://www.sample.com/amateur1/web/app.php ) from this url http://www.sample.com/amateur1 . To do that I moved the .htacces file to http://www.sample.com/amateur1/.htaccess with this contents: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /web/ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ app.php [QSA,L] </IfModule> But when I go to http://www.sample.com/amateur1 shows a 404 Error, and prod.log isn't written. I also used RewriteBase /amateur1/web/ because I don't know If RewriteBase path is relative to the DocumentRoot of