[NTLUG:Discuss] httpd error

Kevin Brannen kbrannen at pwhome.com
Mon Jan 2 09:31:16 CST 2006


Terry wrote:

>What are possible causes for this error. (It is a symlink, and if I
>move the directory to /var/www, it works ok).
>-----------
>Forbidden
>
>You don't have permission to access /morning/02m.html on this server.
>
>Additionally, a 403 Forbidden error was encountered while trying to
>use an ErrorDocument to handle the request.
>Apache/2.0.40 Server at localhost Port 80
>---------
>  
>


You don't have a line like:

   Options FollowSymLinks

in the proper directory section in your apache config file.  Of course, 
I would expect that line to be something like (this is from mine config 
file):

   Options FollowSymLinks ExecCGI Includes

for real, or whatever you really need.  You could also do:

   Options All

So find the <Directory> section you need for this dir (possibly your 
DocumentRoot), and add in the directive and you'll be good to go.  Your 
config file should have a comment or two in that area anyway to guide 
you.  Also see the apache docs, search for "Options".

HTH,
Kevin




More information about the Discuss mailing list