Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th March 2008, 22:10
curiogeo curiogeo is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default PureFTPd And MySQL through http

I have completed this fabulous tutorial and also activated TLS (would be a nice addition in the tutorial) for SSL access.

My question is how do I display the files from the server in a web page and enable http or https downloads. To be clear I do not want to open the ftp port on the firewall. I want the transfer to take place in the web page that displays the contents of the FTP server.

Is this possible?

Let pretend the the server hosting ftp receives the request http://4.2.2.2/file.doc, what will happen?
Reply With Quote
Sponsored Links
  #2  
Old 8th March 2008, 03:53
zcworld zcworld is offline
Senior Member
 
Join Date: Jul 2006
Location: South Australia
Posts: 329
Thanks: 2
Thanked 37 Times in 37 Posts
Send a message via MSN to zcworld Send a message via Skype™ to zcworld
Default

ok im a tab lost at what your trying to get at
im not if its me / me in the heat / or anyone else has got the same problem

so
why do the FTP with mysql than if you going to use http for access

if you want like
ftp access with mysql backend for users/passwords
with http front end access
there is an ftp script
( you have to go looking for )
that you can put onto your web site


i think i got what your saying or trying to do

heads up with more info on what you trying to do
so i can understand it more
__________________
Shane Ebert :: Facebok
Reply With Quote
  #3  
Old 8th March 2008, 06:02
curiogeo curiogeo is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My goal is to be able to move files on an intranet. The problem is the only port(s) the sys admin will open from one segment of the network is http or https.

For the rest of the users the normal FTP access through port 21 is allowed. For this specific group if I want them to have files they have to access the webpage and download from there. I would prefer to maintain one set of files and manage one ftp site with an http file server built in.

Does this help to clarify my intentions?
Reply With Quote
  #4  
Old 8th March 2008, 08:23
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Simply point your httpd document root to the ftp root where the files are.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 8th March 2008, 21:46
curiogeo curiogeo is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for the advice.

If anyone is following this thread and looking for a similar solution try this link for info - http://hoohoo.ncsa.uiuc.edu/docs/set...umentRoot.html.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PureFTPd and MySQL: error exit status 252 marsvin Server Operation 20 13th May 2009 12:03
Saving data on other disk with “Virtual Hosting With PureFTPd And MySQL Ubuntu 7.10" yoyoman HOWTO-Related Questions 1 19th February 2008 06:45
Virtual Hosting with PureFTPd and MySQL - FC7 chalee HOWTO-Related Questions 1 6th September 2007 22:19
Fedora 5 pureftpd mysql authentication error unclecameron HOWTO-Related Questions 8 19th September 2006 15:25
PureFTPD and Mysql Questions chrchcol Server Operation 1 3rd September 2006 23:07


All times are GMT +2. The time now is 19:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.