LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Apache doesn't allow non-document-root access in default setup (https://www.linuxquestions.org/questions/mandriva-30/apache-doesnt-allow-non-document-root-access-in-default-setup-109182/)

jenna_h 10-27-2003 02:56 PM

Apache doesn't allow non-document-root access in default setup
 
Hey, has anyone else had this problem? I just set up an apache server to run a web site from my computer, and rather than copy all my pictures to /var/www/http/, I symlinked the directory that has them in it. For example, ln -s /home/jenna/pics /var/www/http/pics/ . Now I can connect to my computer from other locations, but whenever click a link to the /pics directory, it says I'm not allowed to access it. I know that read permissions are set to allow everyone on that directory and everything in it. Also, I put <directory> directives in httpd.conf to allow access to /pics. What's wrong?

g00$e 10-28-2003 07:07 PM

Make sure you have an the 'Options' directive and the statement 'FollowSymLinks'.

http://httpd.apache.org/docs-2.1/mod/core.html#options

I have never used this and if this does not work you may have to set up another directive for this directory.


All times are GMT -5. The time now is 10:40 AM.