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...
...manually if these links are absolute)
A lazy way to get around this would be a rewrite rule, but you will still need to be at least listening on port 80 for the request to even hit the server.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
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?
...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 connector between apache and tomcat. It's a bit more intelligent and robust than...
I've never played around with threading in jython before - have you tried printing out some messages in between everything to see where the execution is happening?
Another idea might be to change the script to just start all servers on 1 node (remove for node in nodes1:, etc), and then make...
I'm using a 3rd party listbox-like component that is very similar to .net's build int listbox, witch a few enhancements. The problem is that it doesn't have a mouseclick event. What needs to be added to make this work?
DaveInIowa - This is what I knew I needed to find out - how to make a right click actually position the cursor. From there it's easy. My application works great now! Thanks!
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.