I have created a web server with my Pi, and everything was working fine. I got the "It works!" page so I thought "Okay, everything's working". I then decided to upload a new index.html file. After uploading, everything is forbidden. Here's what Apache tells me when I navigate to it now:
Forbidden
You don't have permission to access /admin on this server.
Apache/2.2.22 (Debian) Server at blah blah
Did I do something to mess it up?
By the way, this is what I used as a tutorial: http://tinkernut.com/wiki/page/Episode_320
find /opt/lampp/htdocs -type d -exec chmod 755 {} \;
will chmod all the directories and subdirectories whilefind /opt/lampp/htdocs -type f -exec chmod 644 {} \;
will chmod all the files within the specified directory. Obviously you replace/opt/lampp/htdocs
with whatever folder path you need to chmod.