setting up webserver with panther
Currently I have panther set up to allow ftp access to several users. THis works fairly well, but the problem is not everyone has access to an ftp client all the time. Does anyone know how I can set up the mac to allow people to go into a browser and upload or download files into only thre folders? Currently I opened port 80 to my mac through my airport. When I type in the ip, same ip as for the ftp, I get a message saying that apache is there etc...
But thats all I can get to. I dont see any users or anything.
Any ideas?
thanks
But thats all I can get to. I dont see any users or anything.
Any ideas?
thanks
Comments
From what I can tell, you can't upload files using a web browser. Unless you have some strange javascript.
Other wise you could create a MySQL database and put the users name and passwords in there and then set a login script on the ~username directories. After that you could use a simple PHP upload script, but you would have to modify your PHP.ini to allow greater than 2MB files to be uploaded, and also modify apache to change the timeout limit.
May I suggest the PHP FTP route?
/Library/WebServer/Documents/
Put a new index.html file in that directory and see if you can see it from a browser.
Then you can look for this file:
/etc/httpd.conf
That USED to be where I could find my apache configuration file, but I've suddenly noticed that it's there, but empty. Check your system and see what it shows.