Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

apache serving ftp-requests

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Is Apache getting crazy?  
Author Message
nospam215

External


Since: May 30, 2004
Posts: 2



(Msg. 1) Posted: Sun May 30, 2004 2:48 pm
Post subject: apache serving ftp-requests
Archived from groups: alt>apache>configuration (more info?)

Hi all 'round,
for years now I have used apache for document delivery and found it flexible
and reliable. And I DO know that apache is an http server, not an ftp
server.
However I do have a project where I am forced to offer certain documents by
an ftp url (reason is off-topic), complete with user authentication per
document. Since I have a working setup for doing this via http I do not
want to double all effort for an additional ftp server. In addition the
setup I use for http requests rely on the flexible mod_auth and htaccess
files stuff. I could not find any ftp server offering such service. There
is no easy way for me to maintain user password files as ftp servers
require them.

Now I came upon mod_proxy_ftp for apache and I am unsure if there might
exist a setup providing the following, maybe some guru can give this a
short look?

Two approaches I can think of:
a)
The user has an ftp url along with a username and a password.
So he sends an ftp request that must be handled by a server being able to
answer such an request. Is there a possibility to use mod_procy_ftp (or
something else) to 'forward' this request to an ftp server in background to
fetch the document and forward it to the user? Look like, but here comes
the tricky part:
The authentication has to be done by the 'proxying' http server apache.
Even better, of course would be a proxy setup in apache requesting the
document from the server itself via http and the working htaccess
authentication facilities in background, forwarding the authentication
request to the user.

b) (off-topic, just to make things understandable)
The user has an ftp url along with a username and a password.
The request is ansered by an ftp server acting as a transparent proxy. This
proxy fetches the document via http from apache in the background
forwarding apaches authentication request to the user. This sounds more
straight forward but I could not find an ftp server or proxy doing that for
me...

Any hint is welcome, thanx in advance !

--
arkascha

 >> Stay informed about: apache serving ftp-requests 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Sun May 30, 2004 3:57 pm
Post subject: Re: apache serving ftp-requests [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Arkascha" <nospam DeleteThis @nospam.com> schreef in bericht
news:c9camj$gi5$01$1@news.t-online.com...
 > Hi all 'round,
 > for years now I have used apache for document delivery and found it
flexible
 > and reliable. And I DO know that apache is an http server, not an ftp
 > server.
 > However I do have a project where I am forced to offer certain documents
by
 > an ftp url (reason is off-topic), complete with user authentication per
 > document. Since I have a working setup for doing this via http I do not
 > want to double all effort for an additional ftp server. In addition the
 > setup I use for http requests rely on the flexible mod_auth and htaccess
 > files stuff. I could not find any ftp server offering such service.
Try your luck with <a style='text-decoration: underline;' href="http://www.outoforder.cc/projects/apache/mod_ftpd/:" target="_blank">http://www.outoforder.cc/projects/apache/mod_ftpd/:</a>
" mod_ftpd is a protocol module that allows Apache 2.0 to accept FTP
connections. This allows the FTP component to take advantage of Apache's
authentication system, filters and module support to easily extend the FTP
server."

HansH<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: apache serving ftp-requests 
Back to top
Login to vote
nospam215

External


Since: May 30, 2004
Posts: 2



(Msg. 3) Posted: Sun May 30, 2004 8:34 pm
Post subject: Re: apache serving ftp-requests [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thus spoke HansH:

 > "Arkascha" <nospam.RemoveThis@nospam.com> schreef in bericht
 > news:c9camj$gi5$01$1@news.t-online.com...
  >> Hi all 'round,
  >> for years now I have used apache for document delivery and found it
 > flexible
  >> and reliable. And I DO know that apache is an http server, not an ftp
  >> server.
  >> However I do have a project where I am forced to offer certain documents
 > by
  >> an ftp url (reason is off-topic), complete with user authentication per
  >> document. Since I have a working setup for doing this via http I do not
  >> want to double all effort for an additional ftp server. In addition the
  >> setup I use for http requests rely on the flexible mod_auth and htaccess
  >> files stuff. I could not find any ftp server offering such service.
<font color=purple> > Try your luck with <a style='text-decoration: underline;' href="http://www.outoforder.cc/projects/apache/mod_ftpd/:</font" target="_blank">http://www.outoforder.cc/projects/apache/mod_ftpd/:</font</a>>
 > " mod_ftpd is a protocol module that allows Apache 2.0 to accept FTP
 > connections. This allows the FTP component to take advantage of Apache's
 > authentication system, filters and module support to easily extend the FTP
 > server."
 >
 > HansH

This look *very* interesting. Never heard of that stuff. Things like
mod_transform and mod_svn are more than interesting too.
If mod_ftpd does what I hope from reading the description you might have
solved a burning problem for me.
Thanx for now, I'll report back.

--
arkascha<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache serving ftp-requests 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Serving requests for non-existent directories. (with for e.. - Hi, I've run into the following problem again and again. I wish serve files from non-existent directories. This may seem a little strange since there will not be any files there. So look at the following idea: There's a request like ..

Apache not serving .wml files - Quite a simple one this, I just cannot figure whats going wrong? I have both apache 1.3 and 2.0 running happily on my win XP machine, I am routing my IP address to apache using no-ip.com. With this simple set up I can type http:ant.servebeer.com and up...

Apache 2 + php Not serving correctly - I am having trouble with getting php and Apache 2.0 on Windows XP Apache is installed fine and seems to be working ok I am using the php.exe method as I am only using it as a test server on a laptop. It refused to serve any pages with .php I added the...

apache serving incomplete files - Hello, I've done some searching on this subject but have come up with nothing so I'm hoping someone here can help. I'm currently running apache 2.0.46 on my home machine and I have a couple of vitual hosts set-up. My problem is that apache appears to...

Apache stops serving pages - Hello. I've just installed Mandrake 9.2 with Apache. All I want is the web server. After a couple of minutes I noticed Apache just stopped serving pages. The logs still work though. Out put from apachectl extendedstatus Apache Server...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]