Alternate port not honored on all pages - Event details

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.
5/28/2011 10:40:58 AM
Gravatar
Total Posts 9

Alternate port not honored on all pages - Event details

First off, I love this opensource project.  It does an amazing job and I really want to learn it.

I am having a very simple problem.  We have installed the web app on a custom port to meet security needs at our client site.  Here is a sample URL: 

http://Mydomain.org:50012/mojoportal/

mojoPortal is smart enough to honor the alternate port on most pages:

http://Mydomain.org:50012/mojoportal/home.aspx

http://Mydomain.org:50012/mojoportal/news.aspx

http://Mydomain.org:50012/mojoportal/events.aspx

all work flawlessly, however, when we drill into an Event the port is no longer honored and we get the classic 404 error.

http://Mydomain.org/mojoportal/EventCalendar/EventDetails.aspx?ItemID=2&mid=5&pageid=2

Note the ":50012" has been dropped.  We program around this in our web site and mojoPortal obviously does on most pages, but why does the EventDetails.aspx page not honor the port?  I suspect this page was implemented slightly differently than the other pages.

Many thanks,

Keith

 

 

 

5/28/2011 11:03:56 AM
Gravatar
Total Posts 9

Re: Alternate port not honored on all pages - Event details

Just wanted to add O/S, etc:

Windows Server 2008 R2 Standard SP1; SQL Server 2008 R2 SP2; mojoPortal latest from source code download and build

5/29/2011 12:08:27 PM
Gravatar
Total Posts 18439

Re: Alternate port not honored on all pages - Event details

When I test it on my machine using the Visual Studio web server which launches the site on a random port, it works fine, the port is always included in the url.

Are you proxying it to another port on the web server or really running and accessing it on that port?

Might I ask why use an non standard port in the first place? Often I see people doing that because they have another site running on port 80 on the same machine and ip address, but there are better alternatives such as using host headers to run multiple sites on the same ip address and using standard ports.

Best,

Joe

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