Apache Alias Samba share to a Windows box
Hi All
I am trying to host some large jpg files on my windows filebox. I am currently using Apache 2.0.52-9 in RH Enterprise 6 as my webserver. What I have been trying to do today was to create a Samba share from the RedHat box to the Windows box. In terminal I typed in Quote:
Now, in my httpd.conf file in Apache, I have the httpD running user and group running as apache. In my httpd.conf file, I have a line Quote:
Anyone have an idea on what I am doing wrong here? Thanks Kit |
Hi
You also need to give permission - a typical Apache setup gives everyone access to /var/www/html or something, and denies access to anything else. Try to add this in your httpd.conf: Code:
<Directory /mnt/windozebox/jpgfiles> Code:
ln -s /mnt/windozebox/jpgfiles /var/www/Pictures |
Quote:
Thanks for the help Guttorm. Actually both the Alias method and the link method you said works just fine. The problem was SELinux. When I installed RH EL4 with the Dell openmanage (I normally just install it with the RH cds), but SELinux is enabled by default. Disabling it and rebooting it solved my problem! Thank |
All times are GMT -5. The time now is 01:56 PM. |