login community faq

Hello,

I've created a web2py App using the "Custom app listening on port".

I've created a Website using that web2py App. The 'Url Path' parameter is set to: '/'

For the moment, I've managed to have that website use an URL like: www.mydomain.be/myapp

But I would like to use the more direct URL: www.mydomain.be

I've tried playing with the 'Url Path' parameter and set it to '/myapp' for example, but it does not seem to work and I didn't found anything to set my application as I would like to.

I hope someone could help me.

Thank you.

asked Oct 24 '11 at 14:18

olilau's gravatar image

olilau
1


I've managed to change the default application of my webapp. I've renamed my 'myapp' directory to 'init' (and deleted the other directories except 'admin'). Now I have a somewhat working webapp where www.mydomain.be redirects you to www.mydomain.be/init/default/index and all my urls are using the 'www.mydomain.be/init' url as a base. Not optimal but at least it works.

answered Oct 24 '11 at 14:40

olilau's gravatar image

olilau
1

This page has instructions to set the default application: Loading the correct default application - web2py wiki

For shorter URLs, I think the solution you're looking for is here: URL Rewriting - web2py wiki

answered Oct 24 '11 at 17:55

seanf's gravatar image

seanf ♦♦
56291220

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×18

Asked: Oct 24 '11 at 14:18

Seen: 999 times

Last updated: Oct 24 '11 at 17:55

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited