?
Solved

Apache mod_proxy_ftp

Posted on 2010-09-08
3
Medium Priority
?
990 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:ODOTServer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Accepted Solution

by:
Nopius earned 1000 total points
ID: 33633584
Hi.

You don't need ProxyPassReverse, because remote protocol is FTP and there is nothing to rewrite there (there is no HTTP Location: header to rewrite).

Try without it.
0
 

Author Comment

by:ODOTServer
ID: 33635372
it does the same without it..
0
 
LVL 27

Assisted Solution

by:BigRat
BigRat earned 1000 total points
ID: 34970454
Listening on port 21 or port 80?

As far as I can see Apache is acting like an FTP server, which, when connected sends a list of files back (ls command). Try using an FTP client to access the Apache port.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month9 days, 10 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question