Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 13:37:21 -0500
From:      dweimer <dweimer@dweimer.net>
To:        Chris Maness <chris@chrismaness.com>
Cc:        freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org
Subject:   Re: Upgraded to apache24, and now I get 403
Message-ID:  <4961dc615c4277b1c4790c43f8b5d9e3@dweimer.net>
In-Reply-To: <CANnsUMHXueKRREbn7-g%2B-P_EG4XJBh=GbXrx3AewLYipdTmvfw@mail.gmail.com>
References:  <CANnsUMHXueKRREbn7-g%2B-P_EG4XJBh=GbXrx3AewLYipdTmvfw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/18/2014 12:34 pm, Chris Maness wrote:
> I had a pretty complicated apache config before.  I just upgraded to
> 2.4, and I am only really using one simple website now.  When I try to
> access the page I get a 403 forbidden.
> 
> Here is my virtual host directive:
> 
> <VirtualHost *>
> DocumentRoot "/usr/local/www/data/chrismaness.com"
> ServerName chrismaness.com
> <Directory "/usr/local/www/data/chrismaness.com">
> allow from all
> Options +Indexes
> </Directory>
> </VirtualHost>
> 
> The rest of the http.conf is stock from a fresh apache24 install.
> 
> Thanks,
> Chris
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"

It has to do with the Apache 2.4 permission changes, try the following 
instead, and look here for more information: 
<http://httpd.apache.org/docs/2.4/upgrading.html>;

<VirtualHost *>
   DocumentRoot "/usr/local/www/data/chrismaness.com"
   ServerName chrismaness.com
   <Directory "/usr/local/www/data/chrismaness.com">
     Require all granted
     Options +Indexes
   </Directory>
</VirtualHost>

-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4961dc615c4277b1c4790c43f8b5d9e3>