[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Apache mod_proxy_ftp

Posted on 2010-09-08
3
Medium Priority
?
998 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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 …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

650 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