Thank you very much! With those tips I fixed it !!!
2011/5/26 Matt Robinson <m...@lazycat.org> > On 26 May 2011, at 06:37, oscar balladares wrote: > > I'm having troubles getting Symfony2 to work on a Shared Hosting > enviroment. > > […] > > My .htaccess file reads as follow: > > <IfModule mod_rewrite.c> > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ application/index.php [QSA,L] > </IfModule> > > I think I have something wrong with the .htaccess file (I'm have very poor > knowledge of mod_rewrite, shame on me!) > > if I request localhost/applicaton/index.php everything is fine (also > links, form submitting and redirections). > A link will redirects, for example, to localhost/application/index.php > /login (notice the "index.php" inclusion) > > […] > > mod_rewrite is working properly for virtual host configuration. I'm using > Fedora Linux 14. > > > First thing's first, try adding DirectoryIndex index.php to your .htaccess > - that should fix one of the problems. > > Secondly, are you *sure* mod_rewrite is working properly? The behaviour > you're describing is exactly what you'd get if it wasn't. > > If mod_rewrite really is working elsewhere and not here, then I expect that > your virtual host configuration isn't reading your .htaccess file. > > > - Check that .htaccess is readable by Apache > - Check that the virtual host has an appropriate AllowOverrides value > (else it won't read .htaccess) > > > -- Matt > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en