PB with path config

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.
6/2/2010 8:58:20 AM
Gravatar
Total Posts 2

PB with path config

Hi,

When I'm running the web site in local. All it's ok.

But if i'm running the web site from outside. I have some pb with the template loading.

 

http://portaltek.homeip.net:8080/portal

 

And the website is very slow!

I'm using port redirect 8080 to 80

Port 80 is blocked!

6/2/2010 9:22:52 AM
Gravatar
Total Posts 18439

Re: PB with path config

Hi,

Well if you actually run the site on port 8080 it will work but the problem is the site is really running on port 80 and you are redirecting requests from port 8080 on your firewall to port 80 on your web server. But since the web server is really running on port 80 and does not know anything about the redirection, it does not build internal urls with port 8080 in the url and therefore these urls fail because they don't specify port 8080. This includes the urls for the css. Since the urls are not accessible the page is slow because it is waiting for the requests to timeout on these bad urls.

If you change the web site to run on port 8080 and just map 8080 on your firewall to 8080 on your web server then it will work.

Hope it helps,

Joe

6/2/2010 9:30:49 AM
Gravatar
Total Posts 2

Re: PB with path config

I was hoping not to do that! I'll go edit my other systems!

There is no way in the config given him the port?

Thank you!

6/2/2010 9:35:02 AM
Gravatar
Total Posts 18439

Re: PB with path config

No, the web site is running on port 80 it cannot pretend to run on another port and it doesn't know about the firewall routing.

You can configure it to run on port 8080 then it will build its internal urls with port 8080.

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