12-06-2007
Reverse Proxy difficulty
Hi
I am trying to set up two hosts in a reverse proxy. The reverse proxy already has 8 servers running perfectly, but they are all simply mapping pure addresses, which I have registered internally and externally.
The latest two I wish to add are a bit different, they are app servers, one simply on a different port, and that one I have successfully got working as follows:
ProxyPass /
http://internalhost.domain.com:8080/
ProxyPassReverse /
http://internalhost.domain.com:8080/
The second server is more complex, as its internal address is:
internalhost.domain.com:9080/dir/dir/default.jsp
and I would like to have the proxying as follows:
esales.domain.com -> internalhost.domain.com:9080/dir/dir/default.jsp
Sofar I have done it as above:
ProxyPass /
http://internalhost.domain.com:9080/...r/default.jsp/
ProxyPassReverse /
http://internalhost.domain.com:9080/...r/default.jsp/
When I test it I get the http 403 error.
Can anyone help?
9 More Discussions You Might Find Interesting
1. Linux
I have configured reverse proxy through apache...conf file is attached
My reverse proxy has a public ip.it is redirecting the request to 172.16.1.43 which is http
server.....Now i have a link in Http server's home page which will redirect the request to
another Lan zone machine... (0 Replies)
Discussion started by: dipanrc
0 Replies
2. IP Networking
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies
3. Shell Programming and Scripting
Hi,
I am trying to upload a file to a SQL database table. The column type is IMAGE. I am looking for a solution to upload a word doc file. I tried 3 approaches.
1) my $fileToStore = "mytest.doc";
open IPFILE, "<", $name;
binmode IPFILE;
while (<IPFILE>)
{
$fileToStore .= $_;
}
close... (1 Reply)
Discussion started by: b.paramanatti
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I have a webpage loaded on server1 with authorization enabled by .htaccess, which can be accessed by http://ipofserver1/index.html. Now im planning a high availabilty load balancing in such a way that if the server1 is down due to some reason it should connect to another server. i have... (1 Reply)
Discussion started by: Tuxidow
1 Replies
5. UNIX for Advanced & Expert Users
Hi all,
The scenario is:
http://img834.imageshack.us/img834/7990/1234z.jpg
- With:
+ 192.168.100.0/24 : internet link (simulation)
+ Multiple Websites are hosting in local.
+ Complete DNS configuration.
+ OS: CentOS 5
- Requirements:
Configure Squid Proxy as... (0 Replies)
Discussion started by: kidzer0
0 Replies
6. Red Hat
Hi All
I need your valuable help on this. Im trying to setup reverse proxy using apache in rhel 5.5. I just started with Apache, and not much idea about going with advance level config, except that i have tried to set up this reverse proxy based on an online guide i found in internet. The... (0 Replies)
Discussion started by: niyas_gk
0 Replies
7. IP Networking
Hi, one member of WJ forum adviced that i setup an reverse proxy for my webserver. So im curious if anyone know about good, easy noob tutorial on hwo to achieve this, please link to this tutorial how to setup reverse proxy for an webserver.
Or better for whole node server with OpenVZ... (1 Reply)
Discussion started by: postcd
1 Replies
8. IP Networking
I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies
9. UNIX and Linux Applications
Hi All,
Hope this is the correct thread to ask this, if not, can an admin please move it to the correct thread.
Got a wee problem I hope someone can point me in the right direction.
I have Network A with two servers hosting separate webpages (I will call these WP1 & WP2). A DMZ server... (6 Replies)
Discussion started by: dakelly
6 Replies
LEARN ABOUT MOJAVE
curlopt_proxytype
CURLOPT_PROXYTYPE(3) curl_easy_setopt options CURLOPT_PROXYTYPE(3)
NAME
CURLOPT_PROXYTYPE - proxy protocol type
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYTYPE, long type);
DESCRIPTION
Pass one of the values below to set the type of the proxy.
CURLPROXY_HTTP
HTTP Proxy. Default.
CURLPROXY_HTTPS
HTTPS Proxy. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS)
CURLPROXY_HTTP_1_0
HTTP 1.0 Proxy. This is very similar to CURLPROXY_HTTP except it uses HTTP/1.0 for any CONNECT tunnelling. It does not change
the HTTP version of the actual HTTP requests, controlled by CURLOPT_HTTP_VERSION(3).
CURLPROXY_SOCKS4
SOCKS4 Proxy.
CURLPROXY_SOCKS4A
SOCKS4a Proxy. Proxy resolves URL hostname.
CURLPROXY_SOCKS5
SOCKS5 Proxy.
CURLPROXY_SOCKS5_HOSTNAME
SOCKS5 Proxy. Proxy resolves URL hostname.
Often it is more convenient to specify the proxy type with the scheme part of the CURLOPT_PROXY(3) string.
DEFAULT
CURLPROXY_HTTP
PROTOCOLS
Most
EXAMPLE
TODO
AVAILABILITY
Always
RETURN VALUE
Returns CURLE_OK
SEE ALSO
CURLOPT_PROXY(3), CURLOPT_PROXYPORT(3),
libcurl 7.54.0 February 06, 2017 CURLOPT_PROXYTYPE(3)