Seems like what I need, I'll check the docs later.

Thanks anyway for the suggestion

On Sep 18, 10:05 am, noel guilbert <noelguilb...@gmail.com> wrote:
> Hi,
>
> You should look about the apache module "mod_vhost_alias" 
> :http://httpd.apache.org/docs/2.0/mod/mod_vhost_alias.html
>
>
>
> On Fri, Sep 18, 2009 at 9:48 AM, Davide Borsatto <lloy...@gmail.com> wrote:
>
> > 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!
>
> --
> Noël 
> GUILBERThttp://www.noelguilbert.com/http://www.sensiolabs.comhttp://www.symfony-project.com
> Sensio Labs
> Tél: +33 1 40 99 80 80
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to