I use apache and mod_wsgi to run my TurboGears application. WSGIScriptAlias "/programming" "programming/tg_wsgi.py"
<Directory "programming/"> Order deny,allow Allow from all </Directory> I write this in my apache configure. It work fine. But there is something strange about the url mapping behavior. This is the url of my site. http://victorlin.serveftp.org/programming/ But I found that urls like these can also access my site. I double programming/ in url http://victorlin.serveftp.org/programming/programming/ http://victorlin.serveftp.org/programming/programming/article/?article_id=28 I found this because when I use redirect(url('/someurl')), the redirected ul will become double "programming/" url. For another example. The comment is a sub-controller under the root controller http://victorlin.serveftp.org/programming/comment/ This can access the sub-controller successfully. But if I remove the last slash of url http://victorlin.serveftp.org/programming/comment This will be redirect to http://victorlin.serveftp.org/comment Why? @@" And how to fix it? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

