Results 1 to 3 of 3
Thread: Apache help
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2004
The sad thing is that if I copy a file from /var/www/html/newdir to /var/www/html it works fine. If I create any additional directories in the /var/www/html directory - everything works fine there as well. There are no .htaccess files, permissions are set to drwxr-xr-x. I have tried different groups for all files, root, apache, nobody, and I keep coming up with the same error. I have no virtual directories.
I will access the files by http://localhost/newdir... I have googled this and most people have issues with Apache itself, but Apache works fine unless I go to a subdirectory.
the document root in httpd.conf is /var/www/html you will need to change that if you want to use something elseSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
Do you have SELinux enabled?
I had a hell of a time getting user directories to work until I did an install without SELinux enabled. Works all fine now. I can create whatever subfolder under /var/www/html and it works. Make sure your directory has 711 permissions and that your files are world readable.
We are not running SELinux on our servers just yetI am on a journey to mastering Linux and I got a bloody long way to go!!!