Enabling FTP on Apache Web Server

Discussion in 'Tech Talk' started by Raelinoith, Jul 12, 2011.

  1. Raelinoith
    Veteran

    Joined:
    Jun 17, 2010
    Messages:
    812
    Likes Received:
    5
    Occupation:
    Living
    Location:
    BFNW, New Jersey
    Yeah..heavy stuff here..

    Long story short, trying to make a simple file upload site to my webserver, and Apache is a bitch and requires you to install PHP. Did that, but when I change the config file to LOAD the dang PHP it conks out..no errors.. any ideas? OR Is there a way to make this shit without php? ..preferably?
     
  2. Mark
    Guest

    Joined:
    Dec 15, 2010
    Messages:
    218
    Likes Received:
    0
    Occupation:
    Student
    Location:
    Jacksonville, FL
    Wait...all you want to do is have a working FTP server? Nothing else? No forums, no scripts, just FTP? Then you don't need PHP at all. PHP is for running scripts.

    I'm assuming you're running Apache on a Linux server? What kind of Linux? CentOS, Ubuntu, Debian? Setting up FTP is easy. Keeping it safe and free from rootkits isn't.
     
  3. Raelinoith
    Veteran

    Joined:
    Jun 17, 2010
    Messages:
    812
    Likes Received:
    5
    Occupation:
    Living
    Location:
    BFNW, New Jersey
    Nope. Windows. The basic end result will allow people to see a simple upload forum to upload PNG files to a windows server. Exactly like this site: http://theminequest.com/node/45
     
  4. TheEPIC
    Veteran

    Joined:
    Sep 6, 2008
    Messages:
    1,362
    Likes Received:
    3
    Your link isn't working. However, what you describe will probably require php.
     
  5. Trice
    Veteran Crowfall Member

    Joined:
    Jun 23, 2008
    Messages:
    1,883
    Likes Received:
    16
    Gender:
    Male
    Occupation:
    System Engineer @ BigFish Games
    Location:
    Kirkland, WA
    well you can do it in PHP but not required :) ANY language would work.. I have created several using Perl, C, C++, Ruby+rails etc.. It all boils down to exactly what you need and how complex you want to make it.

    PHP will be restricted to file upload size via php.ini, so if you want LARGE files then you need to adjust it :)

    In the end it is a rendered html file wit a form that posts to a backed script (php/perl/...)

    Check this out to setup PHP on windows with apache.. Then its making sure perms are correct and creating the pages.
    http://www.configure-all.com/apachephpmysql.php

    You could also use IIS, enable FTP setup perms and hand them out. Another alternative is using something like WS_FTP Server, WarFTPD or Serv-U FTP Server to setup / configure a FTPD server under windows for which you allow external users to ftp files to.
     
    Last edited: Jul 13, 2011
  6. Raelinoith
    Veteran

    Joined:
    Jun 17, 2010
    Messages:
    812
    Likes Received:
    5
    Occupation:
    Living
    Location:
    BFNW, New Jersey
    http://theminequest.com/node/11 and then navigate to upload skin.


    I don't care how it's done I want something like that. :( I can't get anything to work.
     
  7. Raelinoith
    Veteran

    Joined:
    Jun 17, 2010
    Messages:
    812
    Likes Received:
    5
    Occupation:
    Living
    Location:
    BFNW, New Jersey
    aaand I got it. Something was effed up in my server settings...