Accessing Apache sub directories
I have a /home/user/datasheets linked in the /srv/www/apache/htdocs. When I try to access this, it comes up 404 forbidden. Permissions are for read only for Others and users, but still cannot access it. Tried a few changes in the http.conf file, but had no success. Can anyone tell me how I can access this directory from a webbrowser for viewing only? Art
On Fri, Jan 28, 2005 at 03:31:45PM -0800, Art Fore wrote:
I have a /home/user/datasheets linked in the /srv/www/apache/htdocs. When I try to access this, it comes up 404 forbidden. Permissions are for read only for Others and users, but still cannot access it. Tried a few changes in the http.conf file, but had no success. Can anyone tell me how I can access this directory from a webbrowser for viewing only?
Have you tried "Options FollowSymLinks" for the directory in question? -Kastus
I tried that, but Apache would not restart. Guess I did not do it right. Have an example available? Art On Fri, 2005-01-28 at 16:18 -0800, Kastus wrote:
On Fri, Jan 28, 2005 at 03:31:45PM -0800, Art Fore wrote:
I have a /home/user/datasheets linked in the /srv/www/apache/htdocs. When I try to access this, it comes up 404 forbidden. Permissions are for read only for Others and users, but still cannot access it. Tried a few changes in the http.conf file, but had no success. Can anyone tell me how I can access this directory from a webbrowser for viewing only?
Have you tried "Options FollowSymLinks" for the directory in question?
-Kastus
On Fri, Jan 28, 2005 at 04:50:17PM -0800, Art Fore wrote:
I tried that, but Apache would not restart. Guess I did not do it right. Have an example available?
Actually, allowing apache to follow symlinks is not good from security point of view. Why don't you just create an alias? E.g. Alias /datasheets /home/user/datasheets -Kastus
participants (2)
-
Art Fore
-
Kastus