mod_proxy_ftp: Wrong HTTP-URLs in FTP directory listing???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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         127.0.0.1/8
    Allow from         192.168.176.0/22

    ## !!! For testing only !!!
    Allow from         all
</Location>

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

-------------------------- 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
"http://<mywebserver>/<myapp>/<username>@/<myapp>/<myfile>", where
<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,

Renne


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux