Default Document

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.
10/13/2011 12:12:52 PM
Gravatar
Total Posts 46

Default Document

I would like to make the default document a different page other than default.aspx for one of my sites.

 

So I tried to make it "test.aspx" ... if I put http://mysite.com/test.aspx in my browser that works fine.  But setting the default document in IIS to test.aspx gives me a directory browsing error.

 

Any insight other than a redirect?

10/13/2011 12:24:41 PM
Gravatar
Total Posts 18439

Re: Default Document

Hi,

If you read the article How mojoPortal Works, you will understand that default.aspx must be the default document in IIS for it to work.

You can make any page you want the home page of your site by moving the page to the home page position in the site hierarchy, but all  CMS pages (pages in the site menu) are served by default.aspx so it must be the default document. Urls like test.aspx are the friendly urls but those urls are re-written to default.aspx?pageid=x

The home page of your site will work with 3 possible urls, its friendly url ie yoursiteroot/home.aspx , yoursiteroot/default.aspx or just yoursiteroot/ ( which resolves to default.aspx as long as default.aspx is the default document)

You can move a page to the top under Administration > Add/Edit Pages to make it the home page.

Hope that helps,

Joe

10/13/2011 12:30:38 PM
Gravatar
Total Posts 46

Re: Default Document

I guess I read everything but that.  Thanks, it's a multiple site setup so I guess I'll just do a redirect.

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