This uses mod_proxy. You can substitute mainserver for localhost if I understood you correctly that *all* this would be running on a single box. This will only work for non-ssl requests, unless the box has multiple IP's bound to it.
<VirtualHost domain1.fakedomain.com:80>
ProxyPass /...
That will work for simply proxying the app on your localhost back and forth, but if you want something more elegant where you can pass additional data and are using tomcat, you should check out mod_jk
Your problem is more than likely the result of differences in the version of Java between Tomcat and WebSphere and/or some classpath issues. This is only using the web container which is pretty basic in the app server world.
If you are using the same IP, remember to include the NameVirtualHost directive.
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.domain1.ba
DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost *:80>
ServerName www.domain2.net
DocumentRoot /var/www/html/domain2
</VirtualHost>
I found out that certain data is sent UTF8 encoded, and other data is not.
I know how to do this:
Charset charset = Charset.forName("UTF-8");
CharsetDecoder decoder = charset.newDecoder();
socket = new Socket(server, port);
in = new BufferedReader(new...
I'm receiving data through a socket....
socket = new Socket(server, port);
in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
This is coming from a remote server that I don't control.
Special characters are encoded, and if I print them out to the console they appear as...
Also, if you back end is an application where the actual hyperlinks are http://, then you need to change those to be https:// otherwise you will get the unwanted behavior you are talking about (Either through a configuration in the app, changing the base href, or manually if these links are...
I'm almost 100% positive that Oracle includes OHS with WebLogic... are you using 11g 10.3.5? The latest version includes it with the Fusion Middleware Web Tier Utilities package.
When you say "terminated ssl", do you mean that the SSL requests are terminating at the apache level? What were the directives you were using with mod_certheaders?
Service Temporarily Unavailable sounds like a message from Tomcat, not apache. Perhaps the proxy is working, and you are just accessing a portion of the web container that isn't working correctly?
Is the service running on *.7:8080 in fact tomcat? If so, I would suggest using mod_jk as a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.