Symfony uses the next typical .htaccess file:

Options +FollowSymLinks +ExecCGI

<IfModule mod_rewrite.c>
  RewriteEngine On

  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteCond %{REQUEST_FILENAME} !-f

  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

and that i have this as my vhost:

<VirtualHost 127.0.0.1:80>
    ServerName jobeet.loc
    DocumentRoot "C:/wamp/www/jobeet/web"
    DirectoryIndex index.php
<Directory "C:/wamp/www/jobeet/web">
    AllowOverride All
    Allow from All
</Directory>

Alias /sf "C:/wamp/lib/symfony-1.4.1/data/web/sf"
<Directory "C:/wamp/lib/symfony-1.4.1/data/web/sf">
    AllowOverride All
    Allow from All
</Directory>

The above mentioned works perfectly, but I wish to understand how to map and extra debugging url, http://jobeet.dev to instantly serve the frontend_dev.php file in order to use web addresses like:
http://jobeet.dev/jobs/...
rather than
http://jobeet.dev/frontend_dev.php/jobs/... to map towards the debug .php file within the framework.

I attempted adding a replica from the vhost entry and just altering the servername and directoryindex to
ServerName jobeet.dev
DirectoryIndex frontend_dev.php
but naturally this doesn't work, when i believe I will have to look into the URL within the .htaccess to get this done?

Can anybody offer top tips in regards to this?

Thanks ahead of time! :)

First add jobeet.dev like a ServerAlias inside your current VirtualHost therefore it can share exactly the same hosting configuration:

<VirtualHost 127.0.0.1:80>
    ServerName jobeet.loc
    ServerAlias jobeet.dev
    DocumentRoot "C:/wamp/www/jobeet/web"
    ....

Be sure to restart Apache when you are done.

Next, switch on no_script_title inside your dev configuration in apps/frontend/config/settings.yml:

dev:
  .settings:
    no_script_name: true

Now your dev web controller (frontend_dev.php) will not appear inside your auto-produced Web addresses (from link_to(), url_for(), etc).

Finally, setup a RewriteRule for the dev domain before your production controller is available in to experience to route everything arriving at jobeet.dev for your dev web controller:

  RewriteEngine on
  ...
  ...
  RewriteCond %{HOST_NAME} ^jobeet\.dev$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ frontend_dev.php [QSA,L]

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php [QSA,L]

Which should get it done.

I'd recommend you to definitely map all needed hosts (jobeet.loc, jobeet.dev, etc) to SF_DIR/web, set index.php as dir-index (while you did) and for the reason that file just run particular application having a particular env based on $_SERVER['HTTP_HOST'].

Hope I referred to good to create a concept obvious.