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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to