1 |
Haim Ashkenazi wrote: |
2 |
|
3 |
>On Tue, 2004-12-07 at 01:05 +0100, Bastian Balthazar Bux wrote: |
4 |
> |
5 |
> |
6 |
>>[snip] |
7 |
>> |
8 |
>> |
9 |
>> |
10 |
>>>>least, I think that's what I had to do, I can't test it right now). |
11 |
>>>> |
12 |
>>>> |
13 |
>>>> |
14 |
>>>> |
15 |
>>>thanks I'll try that tomorrow. if it's not a problem, can you send me |
16 |
>>>the section of the configuration that configures the reverse proxy? I |
17 |
>>>found a few but none of them worked, so by now I'm a little confused |
18 |
>>>about what settings are really needed. |
19 |
>>> |
20 |
>>>thanx |
21 |
>>> |
22 |
>>> |
23 |
>>> |
24 |
>>> |
25 |
>>in apache2.conf: |
26 |
>>LoadModule proxy_module modules/mod_proxy.so |
27 |
>>LoadModule proxy_connect_module modules/mod_proxy_connect.so |
28 |
>>LoadModule proxy_ftp_module modules/mod_proxy_ftp.so |
29 |
>>LoadModule proxy_http_module modules/mod_proxy_http.so |
30 |
>> |
31 |
>>in vhost.conf: |
32 |
>> |
33 |
>><VirtualHost 1.1.1.48:80 192.168.11.149:80> |
34 |
>> |
35 |
>> ErrorLog logs/www.pnpitalia.it_error |
36 |
>> CustomLog logs/www.pnpitalia.it_log common |
37 |
>> CustomLog logs/www.pnpitalia.it_referer referer |
38 |
>> #CustomLog logs/www.pnpitalia.it_agent agent |
39 |
>>[snip] |
40 |
>> #################### horde ... |
41 |
>> |
42 |
>> ProxyPass /webmail http://192.168.11.250:2525/webmail |
43 |
>> ProxyPassReverse /webmail http://192.168.11.250:2525/webmail |
44 |
>> |
45 |
>> #################### ... horde |
46 |
>></VirtualHost> |
47 |
>> |
48 |
>> |
49 |
>nope, doesn't work. I get the same errors (see my first post).(I added |
50 |
>the RequestHeader header, but it doesn't seem to make any change. I use |
51 |
>settings like that to proxy many things, but it doesn't work for |
52 |
>exchange. it seems that exchange have it's own redirections that make it |
53 |
>much more difficult. |
54 |
> |
55 |
>does anyone here have a working example of reverse proxy for exchange |
56 |
>2003? |
57 |
> |
58 |
>thanx |
59 |
> |
60 |
> |
61 |
Horde->Imp (php webmail application) also has a lot of redirection, but |
62 |
have the possibility to change the server name to send at the client, |
63 |
and this does the first half of the work. |
64 |
The second part is done putting it on the same folder (webmail in the |
65 |
example) both the real application and the proxy server. |
66 |
i.e |
67 |
the stack is the following |
68 |
1) internet |
69 |
2) firewall (nat port 80) |
70 |
3) webserver (192.168.. port 80) proxy of folder /webmail |
71 |
4) webserver & mailserver (192.168.. port 2525) horde->imp in the folder |
72 |
/webmail |
73 |
|
74 |
the unique difference for 4) is that he sees all tcp connections from |
75 |
the same address the one of 3). |
76 |
|
77 |
I've never seen exchange but if u can reduct it at a similar |
78 |
configuration it should work, also may be also interesting see if u can |
79 |
proxy a single normal html page. |
80 |
|
81 |
in the hope it give you some more starting point. |
82 |
|
83 |
ciao francesco |