- Jun 19, 2002
- 217
- 0
- 0
My latest adventure will consist of running Apache v 1.3.27 on a RAID 5 array that I have spun up at home. I've got Apache working just fine using /var/www/html as the default document directory, but when I try and use the mount that the RAID is located on (/mnt/array/www/html) and restart Apache I get a "You don't have permission to access (pagename) on this server".
I tried to replicate the file ownership and read/write permissions from /var/www/html to the new directory, same problem. Everything in the /mnt/array/www directory is owned by apache.apache, and out of desperation I chmodded everything 777 (I won't keep it there, just did it for troubleshooting). Still gave me the same error after a forced page reload. When I change the document root back to /var/www/html everything is fine.
Another attempt was to create a Virtual Server, but I had the same problem so I killed that one.
So what am I missing? Is there something else to change other than the Default Document Directory that I'm missing? Or should I just zap the /var/www/html directory and remount the RAID array at /var/www/html, and would that work?
Thanks for the help, as always.
I tried to replicate the file ownership and read/write permissions from /var/www/html to the new directory, same problem. Everything in the /mnt/array/www directory is owned by apache.apache, and out of desperation I chmodded everything 777 (I won't keep it there, just did it for troubleshooting). Still gave me the same error after a forced page reload. When I change the document root back to /var/www/html everything is fine.
Another attempt was to create a Virtual Server, but I had the same problem so I killed that one.
So what am I missing? Is there something else to change other than the Default Document Directory that I'm missing? Or should I just zap the /var/www/html directory and remount the RAID array at /var/www/html, and would that work?
Thanks for the help, as always.