I am writing a tutorial on how to install web2py on shared hosting
acounts.
I have managed to install and use it successfully but I have a problem
with routes.

So, I have created a domain pointer to /home/myuser/www/web2py
(yeap I know I should put web2py outside of public but this senario
will make it easier to explain the pointer).

Then I created a dispatcher and an .htaccess and everything works
lovely.
When I go to my domain pointer, I get redirected to:
http://mydomain.com/welcome/default/index

This creates two problems:
1. What if I have two (or more) websites/applications using the same
web2py installation?
Is it possible?
2. My links are now like that:
http://mydomain.com/application_name/default/index
while I wanted
http://mydomain.com/index.
This seems like a route.py problem, but what happens if there are two
websites/applications?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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