I can't use extra ports. Our university firewall policy does not allow traffic except on certain well known ports. We have port NAT and port filtering at several levels, run by different levels of the University organization, between the server the students in my course are using for their project and the outside world (where the students are sitting, in their homes, dorms, etc. working on the project0. I had to push hard to get even ports 22, 80, and 443 opened up for a student-administered server. It would take the rest of the term before I could push through permission to open up additional ports, if at all. *Everything* (configuration management, web service, etc.) must go through one of those ports.
Ideally, I'd like each team member to have his own private copy of web2py in his http://project.cs.fsu.edu/~studentname directory, but I can have students do a certain amount of development and testing using their own computers, with web2py running in local mode, but in order to test with the shared database, they need to run on the server. What is critical, though, is to have a test environment on the server, for integration and upgrade testing, that is distinct from the "production" (really user testing in our case) environment. Specifically, I don't want to have happen what happened this week when I upgraded to a newer version of web2py and everyone lost access to the server installation of web2py for a period of time. I realize that my situation may be rather more constrained than usual, because of limited reasources here, and the University's security policies, but I was hoping that somebody else had run into a similar requirement and had solved the problem. Ted On Feb 3, 3:34 pm, Wes James <compte...@gmail.com> wrote: > Have you tried mod_rewrite? I've tried mod_write with wsgi and I had > some problems with it not working right, but if you can run each of > your instances on a different port and then use rewrite rules it might > work. > > Just a guess here: > > <IfModule mod_rewrite.c> > RewriteEngine On > RewriteRule ^/site1(.*)http://host:8000/site1/$1[L,P] > RewriteRule ^/site2(.*)http://host:8001/sit2/$1[L,P] > </IfModule> > > -wes > > On Wed, Feb 3, 2010 at 10:50 AM, Ted Baker <ted...@gmail.com> wrote: > > I am interested in running multiple web2py trees, for use in testing > > web2py upgrades before full deployment, as well as testing local code. > > > Ted > > > -- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to web...@googlegroups.com. > > To unsubscribe from this group, send email to > > web2py+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@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.