Url Mapping Bug Related To Subfolders

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/12/2011 11:50:04 PM
Gravatar
Total Posts 27

Url Mapping Bug Related To Subfolders

I have found this bug by installing Mojoportal in a subfolder under the web root folder, such as 'root/test/'.

My hosting environment is IIS 7.0 and .NET 4.0 platform with a MySQL database. The Mojoportal version is 2.3.6.2 and the settings is medium-trust.

In order to reproduce this problem, please follow these steps:

1) create a web page first, like http://www.abc.com/test/test.aspx, and then edit this web page.

2) click 'View This Page', a browser will open a web page with a wrong Url like http://www.abc.com/test/test/test.aspx, which simply repeats the subfolder name one more time in the Url.

When manually create a Url mapping with Url Manager, this problem may occur too and will cause a 'Page not found' problem.

 

3/13/2011 7:36:40 AM
Gravatar
Total Posts 18439

Re: Url Mapping Bug Related To Subfolders

Hi,

Sorry but I am not able to reproduce this problem.

If running in a virtual directory below root, make sure you do not have it configured for folder based child sites, that is not supported.

This must be false:

<add key="UseFoldersInsteadOfHostnamesForMultipleSites" value="false" />

Best,

Joe

3/13/2011 7:47:20 AM
Gravatar
Total Posts 18439

Re: Url Mapping Bug Related To Subfolders

only other thing I can think of is if you have another .NET app or another instance of mojoPortal running in the root it could interfere with the one in the sub folder.

3/13/2011 5:31:11 PM
Gravatar
Total Posts 27

Re: Url Mapping Bug Related To Subfolders

In fact, I have no mojoportal installed under web root folder. I installed two instances of mojoportal in two subfolders, and the web.config exactly has the same setting you mentioned.

I tried again with two instances and found this issue disappeared for unknown reasons. If this issue happens again, I will post detailed information.

Thanks,

Stone

4/1/2011 7:00:58 AM
Gravatar
Total Posts 1

Re: Url Mapping Bug Related To Subfolders

I am facing the same problem in case of url Routing but this problem is due to the root folder name  contains "." (dot) if we remove this dot it will work fine.

 

But I can not remove the dot from root folder name, so can anybody help me out

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