I am new to Symfony.
I just installed Symfony 2.3.2 by following instruction given at http://symfony.com/doc/current/book/installation.html for windows.
When i open
http://localhost/Symfony/web/
then i get error given below
Oops! An Error Occurred
The server returned a "404 Not Found".
However if i run
http://localhost/Symfony/web/app-dev.php
then i get the Welcome page of Symfony.
What settings i need to change to point
http://localhost/Symfony/web/app-dev.php
by calling
http://localhost/Symfony/
Update .htaccess in web directory like this :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app_dev.php [QSA,L]
</IfModule>
/ will redirect to /app_dev.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With