Error Installing Reverse proxy plugin
hi,
I am following the exact steps given in the http://docs.sun.com/app/docs/doc/819-6510/6n8h5jos7?a=view#fundl
to install the Web Proxy server. For that I have modified the magnus.conf and the obj.conf files as follows:-
magnus.conf-- add the line
Init fn="load-modules" shlib="D:/Sun/WebServer6.1/bin/https/bin/passthrough.dll" shlib_flags="(global|now)"
obj.conf-- added the lines
<Object name="default">
NameTrans fn="assign-name" from="/jsp-examples(|/*)" name="server.example.com"
</Object>
<Object name="server.example.com">
# Proxy the requested resource to the URL
# "http://server.example.com:8080"
Service fn="service-passthrough"
Servers="http://server.example.com:8080"
User="blues" password="password"
</Object>
after this I am getting a log in the error file as
[27/Nov/2006:21:47:17] config ( 2028): CORE3185: Invalid configuration: File config\server.xml, line 25, column 50: HTTP3258: Error processing obj.conf line 51: HTTP2212: Directives must have at least one parameter
Can any body help me in solving this issue.
thanks in advance
dhawanmayur
# 1
Hi,
The servers and user parameters should be lowercase. Please try having it as follows:
<Object name="server.example.com">
# Proxy the requested resource to the URL
# "http://server.example.com:8080"
Service fn="service-passthrough"
servers="http://server.example.com:8080"
user="blues" password="password"
</Object>
Please see example from http://docs.sun.com/app/docs/doc/819-6510/6n8h5jos7?a=view#fundl
<Object name="server.example.com">
# Proxy the requested resource to the URL
# "http://server.example.com:8080"
Service fn="service-passthrough"
servers="http://server.example.com:8080"
user="blues"
password="j4ke&elwOOd"
</Object>
roho at 2007-7-7 11:53:48 >

# 2
> Hi,
>
> The servers and user parameters should be lowercase.
> Please try having it as follows:
>
> <Object name="server.example.com">
> # Proxy the requested resource to the URL
> # "http://server.example.com:8080"
> Service fn="service-passthrough"
> servers="http://server.example.com:8080"
> user="blues" password="password"
> </Object>
>
> Please see example from
> http://docs.sun.com/app/docs/doc/819-6510/6n8h5jos7?a=
> view#fundl
>
> <Object name="server.example.com">
>
> # Proxy the requested resource to the URL
> # "http://server.example.com:8080"
> Service fn="service-passthrough"
>
> servers="http://server.example.com:8080"
> user="blues"
> password="j4ke&elwOOd"
>
> </Object>
> Hi,
>
> The servers and user parameters should be lowercase.
> Please try having it as follows:
>
> <Object name="server.example.com">
> # Proxy the requested resource to the URL
> # "http://server.example.com:8080"
> Service fn="service-passthrough"
> servers="http://server.example.com:8080"
> user="blues" password="password"
> </Object>
>
> Please see example from
> http://docs.sun.com/app/docs/doc/819-6510/6n8h5jos7?a=
> view#fundl
>
> <Object name="server.example.com">
>
> # Proxy the requested resource to the URL
> # "http://server.example.com:8080"
> Service fn="service-passthrough"
>
> servers="http://server.example.com:8080"
> user="blues"
> password="j4ke&elwOOd"
>
> </Object>
thanks roho,
I had tried that scenario. but what mistake I was doing was , that the parameters server, username and password all have to be in same line.else it woulg give u an error like the one I was facing.
thanks
dhawanmayur