Flexible domain mapping to symfony apps

Here is a quick tip for your symfony 1.3⁄1.4 project (this probably works with other versions as well) hosted on an Apache webserver: So you fleshed out your symfony project and you ended up with several apps, all being available under their controller name frontend.php, anotherfrontend.php etc. For your routing (and maybe SEO purposes) its a bit unsatisfying that only one app in the project can be available without adressing its front controller (using the no_script_name setting in settings. … »

How to view any Git repository file without checking it out

Here is how to have a quick look into any file in your git repository without checking it out or overwriting your working copy. git show master:path/to/file/file.xml This will show file.xml of the master branch. Git will echo the contents of the file to the standard output. So to actually save a temporary copy of the file for inspection you can just redirect the output into a new file: git show test:path/to/file/file. … »