Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Question regarding subdomains of a single project [RSS Feed]

#1 June 22, 2010 15:39:18

M R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Question regarding subdomains of a single project


I'm setting up a website with multiple subdomains, and one thing I
notice right away (and is expected) is that each subdomain has access
to all of the URLs of the website (of course some will require logins
still).


If I have:http://fooaccount.projectmanagersoftware.comI wouldn't want them to have access to:http://fooaccount.projectmanagersoftware.com/accounts/signup/orhttp://fooaccount.projectmanagersoftware.com/site/If they're at www, that's one thing, but it's weird to have all pages
accessible from all subdomains.

If you look at what this company does,http://demo.bigcartel.com/admin/loginis a login pagehttp://www.bigcartel.com/admin/loginis a 404


What's your thoughts?

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 June 22, 2010 16:07:18

Venkatraman S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Question regarding subdomains of a single project


On Tue, Jun 22, 2010 at 8:06 PM, M Rotch <planetra...@gmail.com> wrote:

> I'm setting up a website with multiple subdomains, and one thing I
> notice right away (and is expected) is that each subdomain has access
> to all of the URLs of the website (of course some will require logins
> still).
>
>
hmmm. I think its the way you setup your apache?

-V

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 June 22, 2010 16:38:31

Dan H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Question regarding subdomains of a single project


Check out this from djangosnippets:http://djangosnippets.org/snippets/1509/It allows you to specify multiple URLconfs and then choose which you
are going to use based on the domain name. This would mean that each
of your subdomain gets a different URLconf which sounds like what you
may be looking for.

Cheers,

Dan Harris
dih0...@gmail.com

On Jun 22, 10:59 am, Venkatraman S <venka...@gmail.com> wrote:
> On Tue, Jun 22, 2010 at 8:06 PM, M Rotch <planetra...@gmail.com> wrote:
> > I'm setting up a website with multiple subdomains, and one thing I
> > notice right away (and is expected) is that each subdomain has access
> > to all of the URLs of the website (of course some will require logins
> > still).
>
> hmmm. I think its the way you setup your apache?
>
> -V

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 June 22, 2010 17:47:52

o.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Question regarding subdomains of a single project


Oh my god! Thanks Dan. I didn't know you could do this. That is
absolutely perfect.

Mark

On Jun 22, 9:38 am, Dan Harris <dih0...@gmail.com> wrote:
> Check out this from djangosnippets:http://djangosnippets.org/snippets/1509/>
> It allows you to specify multiple URLconfs and then choose which you
> are going to use based on the domain name. This would mean that each
> of your subdomain gets a different URLconf which sounds like what you
> may be looking for.
>
> Cheers,
>
> Dan Harris
> dih0...@gmail.com
>
> On Jun 22, 10:59 am, Venkatraman S <venka...@gmail.com> wrote:
>
> > On Tue, Jun 22, 2010 at 8:06 PM, M Rotch <planetra...@gmail.com> wrote:
> > > I'm setting up a website with multiple subdomains, and one thing I
> > > notice right away (and is expected) is that each subdomain has access
> > > to all of the URLs of the website (of course some will require logins
> > > still).
>
> > hmmm. I think its the way you setup your apache?
>
> > -V

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#5 June 24, 2010 01:16:06

Micky H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Question regarding subdomains of a single project


> Check out this from djangosnippets:http://djangosnippets.org/snippets/1509/> It allows you to specify multiple URLconfs and then choose which you
> ...<snip>...

Anyone know if the ticket mentioned in the comments (#5034) of the
above djangosnippet has been resolved?

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Question regarding subdomains of a single project [RSS Feed]

Board footer

Moderator control

Enjoy the 13th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support