Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I come from a Windows Server and there I had something like (in IIS):

domain.com (with an asp.net mvc app)
--- app1 (a virtual dir with another app)
--- app2 (...)

You get the idea.

So if I put: domain.com I go to one app, if I go to domain.com/app1 I go to another app.

I tried to do something like that on cherokee for django apps.

I created a vserver for the domain.com django app but Im unable to create one for domain.com/app1.

A kind guy told me that is just ONE vserver for domain, so in one vserver I have to create all the apps via rules.

He told me too that is not common to have multiple apps on the same domain and is hard to archieve what I want.

I have my www folder with several folders (projects) and I want all of them on the same domain.

Subdomain is a option but somethings I have something small and stupid that doesnt need that.

So, if there is a way, can I have a step by step tuto? Im pretty newbie :P

Thanks.

share|improve this question
    
You only need 12 hours wasted, ask here and get the response. Trying to have a stuff folder (where I put things to share like images or something) and figured out that adding a new uwsgi rule will make the trick. –  Jesus Rodriguez Oct 25 '11 at 22:38
    
Or not. I had a html file on root but if I put a django app on root and another one inside seems like the root one says that the inner one is not found in his urls.py. –  Jesus Rodriguez Oct 25 '11 at 22:53
    
Seems to be the order of rules. The stuff folder, If I put that before the uwsgi rule, it works, if not, django ask about stuff url that doesnt exist on urls.py. So maybe there is no sane way to do what I want. –  Jesus Rodriguez Oct 25 '11 at 23:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.