Can you explain how you tested the url mapping in development.  I have
a similar architecture and am not sure how to test the url mapping
using localhost.

My Scenario is as follows:
1) A user is email link of "http://mycommunity.mydomain.com.
2) They click on link.
3) The web2Py app requires login via a central mechanism common to all
communities.
4) It parses the environment variable to try and get the parameter.
5) It then opens a database specific to the community (I believe this
is analogous to your personal wiki's).
6) The goal being there is only one copy of all controllers and views,
etc. (Again, I suspect your app is the same).

When I try and enter a URL like "http://mycommunity.127.0.0.1:8000/
mm_beta_1/default/index"  where mycommunity is actually a parameter
specifying which community to operate on, I get page not found errors.

On Aug 14, 6:35 pm, Lasiaf <fai...@altlimit.com> wrote:
> No, its not opensource.
>
> On Aug 13, 12:56 pm, Bruno Rocha <rochacbr...@gmail.com> wrote:
>
>
>
> > Thats opensource?
>
> > 2010/8/13 Lasiaf <fai...@altlimit.com>
>
> > > maybe when you tried it, the version I uploaded was the one with
> > > invalid routes(maybe development mode).
> > > I can't think of any reason why would it fail. Also can you answer my
> > > first and 3rd questions?
> > > Thanks
>
> > > On Aug 13, 12:55 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > > > I fill the registration form and shows me the registration form again.
> > > > No message.
>
> > > > On Aug 12, 7:49 pm, Lasiaf <fai...@altlimit.com> wrote:
>
> > > > > I actually used rpx first, but I didn't like it much, so I used google
> > > > > account login but then I didn't like it too much too. hehe so I
> > > > > decided to use the default one from web2py.
> > > > > How can you not login? Do you just post and no errors and going back
> > > > > to same page?
>
> > > > > On Aug 12, 4:14 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > > I cannot login. I suggest you use RPX
>
> > > > > > On Aug 12, 1:17 pm, Lasiaf <fai...@altlimit.com> wrote:
>
> > > > > > > Hi,
>
> > > > > > > I would like to share my 2nd app using web2py, its
> > > atwww.wikiyou.org.
> > > > > > > It is like wikipedia about us and you can create your own 
> > > > > > > subdomain
> > > > > > > usernames like having your own username.wikiyou.org. I actually
> > > have a
> > > > > > > PHP/MySQL version using Zend Framework before, but I decided to
> > > port
> > > > > > > it to web2py and having more features than before.
> > > > > > > Also I have few questions on how to resolve some things.
>
> > > > > > > First.
> > > > > > > Is there a way to add attributes using the MENU() helper in anchor
> > > > > > > tags? like I want to add rel="nofollow" in there.
>
> > > > > > > Second.
> > > > > > > This might not be web2py related, but gae, on gae they don't
> > > support
> > > > > > > naked domains so when you go towikiyou.org it will be no page
> > > found.
> > > > > > > I already followed and added some of appengine groups to fix it,
> > > but
> > > > > > > no luck, the domain is in enom. So I added @www.wikiyou.org
> > > > > > > URL_REDIRECT type. cause I can't add empty.
>
> > > > > > > Third.
> > > > > > > Is there like a way to know if i'm on a development server and
> > > > > > > production? starting from routes.py so I could change settings
> > > > > > > depending on my env info? even a single switch somewhere will 
> > > > > > > help.
>
> > > > > > > Thanks
>
> > --
>
> >http://rochacbruno.com.br

Reply via email to