Hi everybody, Lately I've been doing many experiments with symfony, creating differents projects for each of them. I usually create an apache dedicated virtual host, with a defined server name, link to the web/ directory of symfony, and add a row to the /etc/hosts file to match the new server name.
I'm sure this is not the best way to achieve the result... Indeed, I was thinking that it would be cool to reach multiple symfony projects with url like http://project1.localhost/ http://project2.localhost/ Where Apache understands that project1 is a directory, and builds the path like this /var/www/symfony_projects/:project/web So I could simply create a new directory with a symfony project inside, and it would be ready to go. My point is: is there any way to configure Apache to make this happen? And the file /etc/hosts supports "wildcard hosts"? I'm a PHP programmer, and I'm not familiar with the Apache configuration. I simply copy and paste the virtual host file and change a few things to match this or that directory. I'd really love to set up Apache this way, hope you guys can help. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---