Link to home
Start Free TrialLog in
Avatar of ODOTServer
ODOTServerFlag for United States of America

asked on

Apache mod_proxy_ftp

I have many web sites that work through an apache reverse proxy (ProxyPass/ProxyPassReverse)..

I wanted to try setting up an ftp the same way..

I have both:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so

and:
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

and:
ProxyPass /ftp ftp://ip.address:port
ProxyPassReverse /ftp ftp://ip.address:port

==============================
This works, kind of, the files are listed, but I cannot click on them.. When I do the /ftp is dropped so the file cannot be found..

http://server:port/ftp
lists directory, then when clicking it shows
http://server:port/file instead of http://server:port/ftp/file

==================================

also, I have no clue how to use an ftp client to access via this reverse proxy..
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Arty K
Arty K
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ODOTServer

ASKER

it does the same without it..
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial