Hello, I want to create a self contained application that can change locations based on apache configuration.
Right now I have my application being served by the following line... WSGIScriptAlias /somewhere /export/home/web/docs/my_app/index.py The problem is that I need to have the path "/somewhere" hard coded in my python or template code. Is there a way to determine in python code where the application is being served from? I know that Django does this automagically when using django.core.urlresolvers.reverse. I tried looking at the code to see how they determine it but I got lost in the spaghetti. Thanks, ~Eric -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
