Restricting Users Per Website.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
6/3/2012 9:29:49 PM
Gravatar
Total Posts 8

Restricting Users Per Website.

OS: Windows Server 2008 R2/Windows 7 Ultimate

Web Server: IIS 7.5

DB Server: SQL Server 2008 R2

MojoPortal: 2.3.8.5 (.NET 4.0)

Hi,

    I have two problems, both are related to creating multiple sites. The first problem is that, I want to setup multiple sites on my host, I've read this:

https://www.mojoportal.com/muliplesites.aspx

Hosting name, can this work with sub domains? How do I test this using the local IIS?

Folder name, I tried creating websites from the control panel, but I can't access the child sites, do I need to copy source files to the physical locations? e.g. http://localhost/Mainsitehttp://localhost/Mainsite/Childsite1

Secondly, how do I create users that are restricted to the scope of a single child site? i.e. a user can access a child site, but can't access/login the parent or other child sites.

Regards.

 

6/4/2012 8:07:18 AM
Gravatar
Total Posts 18439

Re: Restricting Users Per Website.

All of your questions are answered in the documentation.

Separate files are not needed for multiple sites, it supports multiple sites in a single installation which means one set of installation files.

Users are separate per site unless you enable RelatedSiteMode in which case users and roles are shared across sites.

See How To Get Multiple Sites Working on Your Development Machine for host names.

No matter whether you use host names or folders the first site should be a root level site http://localhost/somefolder is not a root level site, http://localhost is the root level site. If you already have other stuff running under localhost the above link should help you setup another site, you don't have to use localhost for everything.

See also:

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.