Re: RE: RE: [users@httpd] Apache ReverseProxy for JavaWebStart Application.

2018-01-25 Thread kiran kumar
Rick, I also tried placing the Proxy configuration inside the Location block as well, but it didn't work. Servername public.example.com ProxyRequests Off ProxyPass   “http://localhost:8080/ServicesWeb”ProxyPassReverse   “http://localhost:8080/ServicesWeb”Substitute "s|http://loca

RE: RE: [users@httpd] Apache ReverseProxy for JavaWebStart Application.

2018-01-25 Thread Houser, Rick
You’ll have to piece the non-JNLP stuff together yourself, but I looked at my config and the JNLP I changed does not have http:// in it. With this module, you are doing a dumb string replace anywhere you see that pattern in a response body. So, you should probably put that in a location block

Re: RE: [users@httpd] Apache ReverseProxy for JavaWebStart Application.

2018-01-25 Thread kiran kumar
This is the actual configuration that i have tried Servername public.example.com ProxyRequests Off ProxyPass “/ServicesWeb”  “http://localhost:8080/ServicesWeb”ProxyPassReverse “/ServicesWeb”  “http://localhost:8080/ServicesWeb”Substitute "s|http://localhost:8080/Servi

Re: RE: [users@httpd] Apache ReverseProxy for JavaWebStart Application.

2018-01-25 Thread kiran kumar
Thanks Rick for your reply. I am trying to understand your reply. The JNLP file that generates dynamically when we launch the client has some urls for the same java web start application, those urls should be the apache url's instead of the application server urls which is not happening when th

Re: RE: [users@httpd] Apache ReverseProxy for JavaWebStart Application.

2018-01-25 Thread kiran kumar
Thanks Rick for your reply. I am trying to understand your reply. The JNLP file that generates dynamically when we launch the client has some urls for the same java web start application, those urls should be the apache url's instead of the application server urls which is not happening when t

RE: [users@httpd] Apache ReverseProxy for JavaWebStart Application.

2018-01-25 Thread Houser, Rick
It sounds like the client is never sending the traffic to Apache (per the JNLP), so you aren’t able to touch it until you first tell the client to send it there. You can either serve that file statically with the changes already present, or use mod_substitute to modify it on the fly. Rick Hou

Re: [users@httpd] Redirect only a specific index.php page to new location

2018-01-25 Thread Daniel
I'm with Luca here. A simple redirectmatch would do what you seek. RedirectMatch ^/deptblogs/$ http://intranet/template_departments.cfm Let PHP do complex stuff and let requests for simple paths be handled with simple httpd directives, or at least, that's why I would do to not lose hair in the p

Re: [users@httpd] Redirect only a specific index.php page to new location

2018-01-25 Thread Marat Khalili
On 24/01/18 22:53, Kory Wheatley wrote: Ya there is a .htaccess that has the base set to deptblogs what could I change in here to get it to work? [kwheatley@sftpface2 wordpress]$ cat .htaccess RewriteEngine On RewriteBase /deptblogs/ RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule