Q: Apache & ftp-behavior

Q: Apache & ftp-behavior

Post by Rainer Scher » Sat, 16 Oct 1999 04:00:00



 Hi!

 I have a strange "problem" here (in fact, it's not a problem
 because apache is working fine, but I want to understand
 the problem)...

 We have a solaris server (2.6) & apache 1.3.9 running on our IntraNet.
 To get a true FTP access, I've configured sun's  ftpd to run on the
 same virtual address as one of the apache virtual host.
 Apache also runs an internal proxy server...

 e.g.:
 /etc/hosts-entries: (virtual ip addresses on the sun server)
     1.2.3.4  info.rexroth.de  ftp.rexroth.de # IntraNet www
     1.2.3.5  proxy.rexroth.de                # apache virtual proxy

 Apache ServerRoot:  /var/httpd/...
 FTP-Root:           /var/ftpd/...   (not known to any apache config)

 Both apache and ftpd are working fine and doing their job greatly...

 But when accessing ftp://ftp.rexroth.de on a web browser
 (via apache proxy) I get a directory index generated by apache
 (you can see the apache signature "apache ftp.rexroth.de on Port
 80"), not the raw "ls" listing of the ftpd. Switching of the
 proxy in Netscape browser shows the raw "ls" of the ftpd.

 What makes me curious and my question is:
   apache doesn't know the FTP-Root of the ftpd.
   Does Apache an internal redirect to the ftpd and reformat the
   "ls" (directory index) command? Or how does apache (on port 80)
   know the ftp directory?

   And how do I switch on fancy indexing 8-) without defining a new
   virtual host - possible?

 Any hint?

 -- rainer

 
 
 

1. PERL && mod_perl && FreeBSD && Apache

k, I don't know where this falls under or who I should be asking... but
here's my problem.

mod_perl port installed Perl modules in
'/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Apache/' but didn't


have to rebuild the system perl components? the mod_perl? or is there a conf
file somewhere that I cannot find?



could 'mv' everything as well... but I would like to hear some other
opinions or options.

Thanks

2. Crack 5 HELP!

3. Help with TELNET & FTP strange behavior

4. Makedepend warning

5. Diff in SSI behaviour b/w NCSA & Apache

6. server slow, what's the constraint?

7. problems with (Apache && Solaris && mod_perl)

8. apache proxy (reverse) information out there

9. Apache && CGI && uid || back to cern?

10. Apache proxy Qs and wishlist

11. Apache 1.0.2 - two simple installation Qs

12. AddType with source quality (qs=) values? (Apache?)

13. Memory & Disk Qs