Hi Brian,

I do not know if you are aware that if you call your application init
you will get exactly that what you want.

Boris

On Wed, Apr 8, 2009 at 9:42 PM, bsnipes <[email protected]> wrote:

>
> What would be the best way to deploy web2py and 'hide' the default
> controller and the application name? For example:
>
>  application name: mysitename
>  controller used for functions: default
>
> If a user visits http://www.mysitename.com/ it should pull from
> web2py /mysitename/default/index.  If the default controller has a
> function called 'news' it should show up as http://www.mysitename/news
> and not http://www.mysitename/mysitename/default/news.
>
> Something to take into consideration are the static image files
> (actually all static files). When the urls for them are created in the
> application they show up as /mysitename/static/image.jpg.  I would
> like for them to show up in the page source as /static/image.jpg and
> pull up correctly.
>
> I have tried to get this to work with mod_proxy, wsgi, and mod_rewrite
> but can't seem to figure out the proper way to do it so any help is
> really really appreciated. Am I asking for something really difficult
> to do? I would be happy to add any info handed out to the wiki page
> (s).
>
> Thanks,
> Brian
> >
>


-- 
"Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former."-Albert Einstein

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to