Take the 2-minute tour ×

I'm new to Symfony2 and following the EnsJobeet tutorial. My VirtualHost config is as follows:

<VirtualHost *:80>
    ServerName jobeet.local
    DocumentRoot /var/www/ensjobeet/web/
    DirectoryIndex app.php
    ErrorLog /var/log/apache2/jobeet-error.log
    CustomLog /var/log/apache2/jobeet-access.log combined
    <Directory "/var/www/ensjobeet/web/">
        AllowOverride All
        Allow from All

When I make requests to jobeet.local/app_dev.php/job/ I get the jobs page, when I make requests to jobeet.local/app.php/job/ I get the jobs page. However requests to jobeet.local/job/ 404 with The requested URL /job/ was not found on this server.

I would have thought that requests jobeet.local/ and jobeet.local/app.php/ would have been equivalent but they don't appear to be so is there some other aspect of the environment configuration I have wrong?

share|improve this question
add comment

1 Answer

mod_rewrite was installed but not enabled. Silly me!!

share|improve this answer
add comment

Your Answer


