Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to build a website with multiply subdomains?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Lingfeng Xiong  
View profile  
 More options Sep 10 2012, 5:23 am
From: Lingfeng Xiong <xionglingf...@gmail.com>
Date: Mon, 10 Sep 2012 02:23:40 -0700 (PDT)
Local: Mon, Sep 10 2012 5:23 am
Subject: How to build a website with multiply subdomains?

hi all,
I'm working on a project which consist several subdomains like:

www.example.com    main website
passport.example.com     user center
admin.example.com      for admin purpose

These three websites need to share the same models and templates. I just
created three pyramid projects and copy all models and templates to each
one's folders. that's stupid. Is there any better practices for this?
Thanks in advanced.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Wade  
View profile  
 More options Sep 10 2012, 2:39 pm
From: Bruce Wade <bruce.w...@gmail.com>
Date: Mon, 10 Sep 2012 11:39:23 -0700
Local: Mon, Sep 10 2012 2:39 pm
Subject: Re: How to build a website with multiply subdomains?

Point each subdomain to the same folder or a soft link of the folder should
work. That way there is only one copy of the code.

On Mon, Sep 10, 2012 at 2:23 AM, Lingfeng Xiong <xionglingf...@gmail.com>wrote:

--
--
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.fittraineronline.com - Fitness Personal Trainers Online
http://www.warplydesigned.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Benke  
View profile  
 More options Sep 14 2012, 6:56 am
From: Christian Benke <benkoka...@gmail.com>
Date: Fri, 14 Sep 2012 03:56:13 -0700 (PDT)
Local: Fri, Sep 14 2012 6:56 am
Subject: Re: How to build a website with multiply subdomains?

> These three websites need to share the same models and templates. I just
> created three pyramid projects and copy all models and templates to each
> one's folders. that's stupid. Is there any better practices for this?

maybe this answers your question?
http://stackoverflow.com/questions/7607807/multiple-domains-and-subdo...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arndt Droullier  
View profile  
 More options Sep 14 2012, 7:16 am
From: Arndt Droullier <ar...@dvelectric.de>
Date: Fri, 14 Sep 2012 13:16:37 +0200
Local: Fri, Sep 14 2012 7:16 am
Subject: Re: How to build a website with multiply subdomains?

2012/9/14 Christian Benke <benkoka...@gmail.com>

> These three websites need to share the same models and templates. I just
>> created three pyramid projects and copy all models and templates to each
>> one's folders. that's stupid. Is there any better practices for this?

> maybe this answers your question?
> http://stackoverflow.com/questions/7607807/multiple-domains-and-subdo...

> A pyramid application is just a python package. You can run any number of

wsgi applications from the same package/directory.
All you have to do is to create three separate paste ini files and use them
as pserve-parameter.

--
DV Electric / Arndt Droullier / www.dvelectric.de


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »