Hello?

I put this:

routes.subdomains.type                 =
"Zend_Controller_Router_Route_Hostname"
routes.subdomains.route                = ":username.detetive.net"
routes.subdomains.defaults.module      = default
routes.subdomains.defaults.controller  = index
routes.subdomains.defaults.action      = history
routes.subdomains.defaults.username    = ""

routes.index.type                 = "Zend_Controller_Router_Route_Hostname"
routes.index.route                = "www.detetive.net"
routes.index.defaults.module      = default
routes.index.defaults.controller  = index
routes.index.defaults.action      = index


If I put the "subdomains" only, all will go to some user... with "index"
www.detetive.net is going to index.... but with this I couldn´t access
anything more!



2009/2/12 José de Menezes Soares Neto <[email protected]>

> I´ve already read this, but it is not using config.ini...
>
> Could someone give me a little help using config.ini?
>
>
> 2009/2/10 Ben Scholzen 'DASPRiD' <[email protected]>
>
> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.hostname
>> ...................................
>> :  ___   _   ___ ___ ___ _ ___    :
>> : |   \ /_\ / __| _ \ _ (_)   \   :
>> : | |) / _ \\__ \  _/   / | |) |  :
>> : |___/_/:\_\___/_| |_|_\_|___/   :
>> :........:........................:
>> : Web    : http://www.dasprids.de :
>> : E-mail : [email protected]       :
>> : Jabber : [email protected]     :
>> : ICQ    : 105677955              :
>> :........:........................:
>>
>>
>> José de Menezes Soares Neto schrieb:
>> > I forgot, I am using config.ini with another routes like:
>> >
>> > [production]
>> > routes.userexist.route                = "api/userexists/:username/*"
>> > routes.userexist.defaults.module      = account
>> > routes.userexist.defaults.controller  = api
>> > routes.userexist.defaults.action      = userexists
>> > routes.userexist.defaults.username    = "0"
>> >
>> > Regards
>> >
>> > 2009/2/10 José de Menezes Soares Neto <[email protected]
>> > <mailto:[email protected]>>
>> >
>> >     Hello friends,
>> >
>> >     I am using Modules and Zend_Config, how could I call an action from
>> >     somename.mydomain.com <http://somename.mydomain.com>?
>> >
>> >     I did not found any example for how to use Zend_Config for this this
>> >     kind of route...
>> >
>> >     Regards,
>> >
>> >     José
>> >
>> >
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAkmSCgwACgkQ0HfT5Ws789BsuACaAxkns2ITz6U0Ih4OeXqhRXXQ
>> 7KcAn07jQy8SAmwccYimnil6lMQ3W9WU
>> =qlhz
>> -----END PGP SIGNATURE-----
>>
>
>

Reply via email to