Bill Murray
Posts: 1
Joined: Wed Feb 24, 2016 3:41 pm

Best way to create an upload space via a LAN raspberry pi.

Wed Feb 24, 2016 4:03 pm

I need to make a space that can upload files from anyones' device, through my LAN website (i.e. it can only be accessed through this router).

I have been able to create the HTML and the PHP, but when i click to upload it comes up with a 404 ERROR.

This is not due to my files being in /var/www and not /var/www/html

I was wondering whether anyone could shed some light as to why this isn't working, or if someone could propose an alternative to what I have been trying to do.

All the best

Bill

fsr
Posts: 88
Joined: Wed Jan 13, 2016 2:29 am

Re: Best way to create an upload space via a LAN raspberry p

Thu Feb 25, 2016 5:08 am

Bill Murray wrote:I was wondering whether anyone could shed some light as to why this isn't working, or if someone could propose an alternative to what I have been trying to do.
php will tell you exactly whats wrong it has very good logging you just need to enable it in the php.ini
but I think you are barking up the wrong tree it being a php problem
Bill Murray wrote: it comes up with a 404 ERROR.
404 = file not found,
that means either you are typing the wrong url into the client, or the directory where you think apache is serving from is not the directory apache is actually serving from.

double check the url and check the apache error log for details

post error logs, apache configuration file etc if you are not sure what it all means.
easier for others to help rather than speculating what could be...

Return to “Beginners”