No !! It doesn't work.
On Tue, Jan 26, 2010 at 6:45 PM, Tom Ptacnik <to...@tomor.cz> 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 <sepel...@gmail.com> wrote: >> 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.com >> 127.0.0.1 *.my.com >> >> And in my httpd.conf : >> >> <VirtualHost *:80> >> DocumentRoot "E:/wamp/www" >> >> ServerName localhost >> DirectoryIndex index.php >> </VirtualHost> >> >> <VirtualHost *:80> >> DocumentRoot "E:/dev/sfproject/mysite/web" >> ServerAlias *.my.com >> ServerNamewww.my.com >> DirectoryIndex index.php >> </VirtualHost> >> >> Now I can access my host withwww.my.comBut I can't access >> subdomains.For example example1.my.com,It show "page not found error". >> Any idea? >> >> >> >> On Wed, Jan 20, 2010 at 11:00 AM, seifolah Ghaderi <sepel...@gmail.com> >> wrote: >> > Thanks .I try it. >> >> > On Tue, Jan 19, 2010 at 6:14 PM, wissl <andreas.wi...@googlemail.com> >> > wrote: >> >> 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 <sepel...@gmail.com> wrote: >> >>> Hi all. >> >>> I want to generate these url based on one of my tables. >> >>> For example for each record in table "section" I want to generate: >> >>> section_1.mysite.com >> >>> or section_X.mysite.com >> >>> and if then user select one of my caregory then url will >> >>> be:section_1.mysite.com/cat/id/1 >> >>> I want to refer these url to on module. >> >>> Any idea? >> >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> >> "symfony users" group. >> >> To post to this group, send email to symfony-us...@googlegroups.com. >> >> To unsubscribe from this group, send email to >> >> symfony-users+unsubscr...@googlegroups.com. >> >> For more options, visit this group >> >> athttp://groups.google.com/group/symfony-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.