If you are using some kind of proxy or mod_wsgi or similar tools it's usually their business to mount the application somewhere.
If you want to do it directly in paste#http probably the most simple way is using PrefixMiddleware, it will make your app available under the specified path. Keep in mind that if you didn't use tg.url to generate your urls all your links will be broken. Also the application will still be available at both / and /subpath. You can enable it inside development.ini with: [filter:proxy-prefix] use = egg:PasteDeploy#prefix prefix = /subpath [app:main] filter-with = proxy-prefix On Tue, Mar 26, 2013 at 2:26 PM, sajuptpm <[email protected]> wrote: > Hi, > > I have a Turbogear app with url structure like > http://localhost:8080/ > http://localhost:8080/network/delete > http://localhost:8080/network/add > http://localhost:8080/storage/delete > http://localhost:8080/storage/add > > I want to change this url structure to something like > > http://localhost:8080/private > http://localhost:8080/private/network/delete > http://localhost:8080/private/network/add > http://localhost:8080/private/storage/delete > http://localhost:8080/private/storage/add > > > That is, I want to change root url from http://localhost:8080/ to > http://localhost:8080/private/ > > > Have any easy way to configure this without manually changing all url. > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/turbogears?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

