| 1 |
You can prosecute F*EX behind a reverse proxy, but then you are limited to |
| 2 |
the capabilities of this proxy. For example, if you use apache, then you |
| 3 |
have a 2 GB upload limitation and a throughput penality. |
| 4 |
|
| 5 |
Example for apache reverse proxy: |
| 6 |
|
| 7 |
On http://tandem-fahren.de:80 there is an apache |
| 8 |
On http://tandem-fahren.de:488 there is a F*EX server |
| 9 |
tandem-fahren.de has ip address 78.46.33.142 |
| 10 |
|
| 11 |
If you want to contact the F*EX server via alias URL |
| 12 |
http://tandem-fahren.de/fex/ then you have to put in httpd.conf: |
| 13 |
|
| 14 |
Redirect /fex /fex/ |
| 15 |
ProxyRequests Off |
| 16 |
ProxyPass /fex/ http://tandem-fahren.de:488/ |
| 17 |
<Location /fex/> |
| 18 |
ProxyPassReverse http://tandem-fahren.de:488/ |
| 19 |
SetOutputFilter proxy-html |
| 20 |
ProxyHTMLExtended On |
| 21 |
ProxyHTMLURLMap http://tandem-fahren.de:488/ /fex/ |
| 22 |
ProxyHTMLURLMap / /fex/ |
| 23 |
ProxyHTMLURLMap /fex/fex/fex/ /fex/ |
| 24 |
</Location> |
| 25 |
|
| 26 |
And write to lib/fex.ph : |
| 27 |
$hostname = 'tandem-fahren.de'; |
| 28 |
$reverse_proxy_ip = '78.46.33.142'; |
| 29 |
$durl = 'http://tandem-fahren.de/fex/fop'; |
| 30 |
|
| 31 |
|
| 32 |
See also: http://8d.no/fexproxy.html |