Hello --

I'm not sure if this is a web.py issue or a mod_rewrite issue, so I'm
checking here first. I have a web app, jimdscott.py which calls two
two sub apps, snack_stand.py and hoops.py. snack_stand works exactly
as I expect. That is, whenever I access jimdscott.com/snack_stand, I
get the snack_stand app.

However, whenever I try to access jimdscott.com/hoops, I get
jimdscott.com/hoops/ instead. If I navigate to jimdscott.com/
jimdscott.py/hoops, then the sub app works just as I would expect.

I thought the issue was caused because I had a "hoops" directory in
the main directory along with my jimdscott.py script. I've changed
that so now I have my main web app calls hoops_web.py. hoops_web.py
imports the hoops_game module, which is located in the same folder as
my web applications.

In addition, if I change the page name to jimdscott.com/hoopz, and
update my web.py applications, then everything works normally.

It seems like there's something about naming my page "hoops" which is
throwing apache for a loop. I am using the mod_rewrite rules suggested
on webpy.org, along with apache2 server. Thanks for any help or
suggestions.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to