Re: [symfony-users] Re: Subdomain dynamicly

2010-01-28 Thread seifolah Ghaderi
I think problem is in virtualhost setting so. I wanna to know is it possible to have subdomain in apache on windows system? On Wed, Jan 27, 2010 at 4:47 PM, Tom Ptacnik wrote: > So, if you change content of index.php in your web project directory > to something like (included my previous > recom

[symfony-users] Re: Subdomain dynamicly

2010-01-27 Thread Tom Ptacnik
So, if you change content of index.php in your web project directory to something like (included my previous recomendation) and nothing is showed. Problem is in the virtualhost settings (apache... php...) If you see "hello" text. Problem should be in your symfony application. On 26 led, 16:26,

Re: [symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread seifolah Ghaderi
No !! It doesn't work. On Tue, Jan 26, 2010 at 6:45 PM, Tom Ptacnik wrote: > What if you add a "127.0.0.1 test.my.com" to the hosts file and > "ServerAlias test.my.com" to the virtualhost config. Does this > subdomain works? > > On 26 led, 09:17, seifolah Ghaderi wrote: >> Hi again. >> For test

[symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread Tom Ptacnik
What if you add a "127.0.0.1 test.my.com" to the hosts file and "ServerAlias test.my.com" to the virtualhost config. Does this subdomain works? On 26 led, 09:17, seifolah Ghaderi wrote: > Hi again. > For test sub domain I have a problem . > I have a win xp and installed wamp on it. > After some g

Re: [symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread seifolah Ghaderi
Hi again. For test sub domain I have a problem . I have a win xp and installed wamp on it. After some googleing I find how to confige virtual host name based.I use this confige in my host file(in C:\WINDOWS\system32\drivers\etc) 127.0.0.1 localhost 127.0.0.1 mysite.web 127.0.0.1 www.my.c

[symfony-users] Re: Subdomain dynamicly

2010-01-19 Thread wissl
There is the excellente part "Advanced Routing" of the 2009 symfony advent calendar, that is related to your topic. Have you read it? Otherwise give it a try! http://www.symfony-project.org/advent_calendar/2/en http://www.symfony-project.org/advent_calendar/3/en On 19 Jan., 14:36, sepelloo wrote