LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-27-2003, 02:56 PM   #1
jenna_h
Member
 
Registered: Nov 2002
Distribution: Mandrake 9.0
Posts: 58

Rep: Reputation: 15
Unhappy 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?
 
Old 10-28-2003, 07:07 PM   #2
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 403 access denied outside of document root freedo5 Linux - Software 2 09-21-2005 08:06 PM
changeing default document from index.html in apache thebover Linux - Software 3 03-30-2005 09:26 PM
Setting Apache Virtualhost Default Document? Seventh Linux - Software 1 03-21-2005 10:47 AM
apache 1.3 config question; default document? soliant Linux - Software 1 03-25-2004 11:50 AM
Apache question regarding security and default document WolfShade Linux - Newbie 1 10-31-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration