I’m trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.
I’ve got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here’s some background on some permissions issues I had with the NTFS partitions recently).
When I change the “Directory” setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:
Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.
Mon Jun 13 23:43:29 2011
swerdna, when looking at the config file using the first command you gave me, I noticed that it wasn’t changing the “Document Root” value when I edited it using Yast, I’d change it to where I wanted it, but then the value would still be the default folder after the server restarted, but it was giving me a warning message saying the default server name would be used if I didn’t enter one. I clicked ok figuring it didn’t matter…but as soon as I put in a server name, it wrote the changes to the “Document Root” to the config file, and now I see what I should see.