httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rene Bartsch>
Subject [users@httpd] mod_proxy_ftp: Wrong HTTP-URLs in FTP directory listing???
Date Fri, 29 Jul 2011 18:40:14 GMT

I want to setup a FTP->HTTP-proxy (bridging between FTP-only fileserver
and HTTP-only application).

I'm using the "2.2.14-5ubuntu8.4" package on Ubuntu 10.04.2 LTS (mod_proxy
and mod_proxy_ftp are enabled).

Current config:

-------------------- snip -------------------------

ProxyRequests    Off

<Location /<myapp>/>
    ProxyFtpDirCharset utf-8
    Order              Deny,Allow
    Deny from          all
    Allow from
    Allow from

    ## !!! For testing only !!!
    Allow from         all

<Location /<myapp>/>
    ProxyPass          ftp://<myftpserver>.de
    ProxyPassReverse   ftp://<myftpserver>.de

-------------------------- snip -----------------------------

When I access "http://<mywebserver>/<myapp>/" I get a directory listing,
but with wrong URLs.

Instead of rewriting "ftp://<myftpserver>.de" to
"http://<mywebserver>/<myapp>/<myfile>", the directory listing uses
<username> is from the login credentials apache forwards to the FTP server.

Accessing the HTTP-URLs fails as there is no location/directory
"http://<mywebserver>/<myapp>/<username>@/<myapp>/", of course.

Does anyone have any idea what's going wrong here?

Thanx for any hint,


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message